We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c6f5789 + 16f077c commit 31450e0Copy full SHA for 31450e0
root/static/js/syntaxhighlighter.mjs
@@ -85,6 +85,11 @@ SyntaxHighlighter.regexLib['url'] = /[a-z][a-z0-9.+-]*:\/\/[\w-./?%&=:@;#~]*[\w-
85
// Use regular spaces, not
86
SyntaxHighlighter.config.space = ' ';
87
88
+// We aren't using <script type="syntaxhighlighter" />, and when enabled it
89
+// attempts to strip <![CDATA[ ]]> sections. That code is buggy, and breaks
90
+// short code blocks, such as on perlsecret.pod
91
+SyntaxHighlighter.config.useScriptTags = false;
92
+
93
// https://metacpan.org/source/RWSTAUNER/Acme-Syntax-Examples-0.001/lib/Acme/Syntax/Examples.pm
94
95
// TODO: Might be easier to do the regexp on the plain string (before
0 commit comments