tinymce inits: prevent html entity encoding from wrecking special characters in any text form it uses, especially in stories
--- a/tinymce/2/init.php
+++ b/tinymce/2/init.php
@@ -17,6 +17,7 @@
width: '580',
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" : "") . "',
--- a/tinymce/3/init.php
+++ b/tinymce/3/init.php
@@ -17,6 +17,7 @@
width: '580',
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,wordcount" . ($current == "adminarea" ? ",codeprotect" : "") . "',
--- a/tinymce/4/init.php
+++ b/tinymce/4/init.php
@@ -36,6 +36,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',
--- a/tinymce/5/init.php
+++ b/tinymce/5/init.php
@@ -38,6 +38,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',
--- a/tinymce/6/init.php
+++ b/tinymce/6/init.php
@@ -39,6 +39,7 @@
relative_urls: false,
remove_script_host: false,
convert_urls: true,
+ entity_encoding: 'raw',
toolbar1: 'bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist | undo redo | fullscreen code | link unlink | emoticons image anchor hr ', image_advtab: true,
menu: {
file: { title: 'File', items: 'newdocument' },