This commit is contained in:
Marcus 2023-06-22 00:06:05 +02:00
parent 52b060191d
commit c2a36e4e6c

View file

@ -50,7 +50,7 @@ function plugin_syntaxhighlighter_head() {
echo <<<PRISMJS echo <<<PRISMJS
<!-- start of prism.js header --> <!-- start of prism.js header -->
<link rel="stylesheet" type="text/css" href="{$pdir}res/prism-$config['theme'].css" /> <link rel="stylesheet" type="text/css" href="{$pdir}res/prism-{$config['theme']}.css" />
<!-- end of prism.js header --> <!-- end of prism.js header -->
PRISMJS; PRISMJS;
@ -78,7 +78,7 @@ function plugin_syntaxhighlighter_foot() {
<!-- call wrap_pre_tags() from syntaxhighlighter-ng.js --> <!-- call wrap_pre_tags() from syntaxhighlighter-ng.js -->
<script type="text/javascript"> <script type="text/javascript">
var used_languages = $used_languages; var used_languages = {$used_languages};
wrap_pre_tags(used_languages); wrap_pre_tags(used_languages);
</script> </script>