Skip to content

Commit

Permalink
remove charset to let it validate against html 5, fix #118
Browse files Browse the repository at this point in the history
  • Loading branch information
Klap-in committed Dec 24, 2023
1 parent 11ed61c commit 1c2a366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/indexmenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ private function builddTree($nodes, $ns, $js_dTreeOpts, $js_name, $max)
}
}
// inline javascript
$out = "<script type='text/javascript' charset='utf-8'>\n";
$out = "<script type='text/javascript'>\n";
$out .= "<!--//--><![CDATA[//><!--\n";
$out .= "var $js_name = new dTree('" . $js_name . "','" . $js_dTreeOpts['theme'] . "');\n";
//javascript config options
Expand Down

0 comments on commit 1c2a366

Please sign in to comment.