tinymce inits: prevent html entity encoding from wrecking special characters in any text form it uses, especially in stories
--- a/tinymce/init.php
+++ b/tinymce/init.php
@@ -16,6 +16,7 @@
height: '250',
language: '$language',
convert_urls: 'false',
+ entity_encoding: 'raw',
mode: 'textareas',
extended_valid_elements: 'a[name|href|target|title]',
plugins: 'advhr,advimage,advlink,searchreplace,contextmenu,preview,fullscreen,paste" . ($current == "adminarea" ? ",codeprotect" : "") . "',
@@ -47,3 +48,4 @@
}
";
echo " --></script>";
+
--- a/tinymce4/init.php
+++ b/tinymce4/init.php
@@ -34,6 +34,7 @@
relative_urls: false,
remove_script_host: false,
convert_urls: true,
+ entity_encoding: 'raw',
paste_word_valid_elements: 'b,strong,i,em,h1,h2,u,p,ol,ul,li,a[href],span,color,font-size,font-color,font-family,mark,table,tr,td',
toolbar1: 'bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist | undo redo | fullscreen code | link unlink | emoticons image anchor hr ', image_advtab: true,
paste_word_valid_elements: 'b,strong,i,em,p,span,u,strike,br',