This commit is contained in:
Marcus 2023-06-22 00:06:05 +02:00
parent 52b060191d
commit c2a36e4e6c
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ function plugin_syntaxhighlighter_head() {
echo <<<PRISMJS
<!-- 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 -->
PRISMJS;
@ -78,7 +78,7 @@ function plugin_syntaxhighlighter_foot() {
<!-- call wrap_pre_tags() from syntaxhighlighter-ng.js -->
<script type="text/javascript">
var used_languages = $used_languages;
var used_languages = {$used_languages};
wrap_pre_tags(used_languages);
</script>