use proper JSON encoding/decoding
This commit is contained in:
parent
7023683b48
commit
bf9bd2f0d2
18 changed files with 54 additions and 54 deletions
|
|
@ -561,7 +561,7 @@ sub getRichEditor {
|
|||
while (my ($plugin, $path) = each %loadPlugins) {
|
||||
$out .= "tinymce.PluginManager.load('$plugin', '$path');\n";
|
||||
}
|
||||
$out .= "\ttinyMCE.init(" . JSON->new->utf8->pretty->encode(\%config) . " )\n"
|
||||
$out .= "\ttinyMCE.init(" . JSON->new->pretty->encode(\%config) . " )\n"
|
||||
. "</script>";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue