possible fix for attachments control in safari

This commit is contained in:
Graham Knop 2008-04-15 22:37:50 +00:00
parent a38024e832
commit 53b81b36d0

View file

@ -549,7 +549,7 @@ sub getRichEditor {
while (my ($plugin, $path) = each %loadPlugins) {
$out .= "tinymce.PluginManager.load('$plugin', '$path');\n";
}
$out .= "tinyMCE.init(" . JSON::encode_json(\%config) . ");\n</script>";
$out .= "tinyMCE.init(" . JSON->new->utf8->pretty->encode(\%config) . ");\n</script>";
}