Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.0.2
-
Component/s: Internationalisation
-
Labels:None
Description
http://forum.civicrm.org/?topic=10556 - FCKeditor's changing non-Latin characters to their entities because FCKConfig.ProcessHTMLEntities is set to true in packages/fckeditor/fckconfig.js; this breaks the automatic HTML-to-text converter (as the converter does not know how to change the entities back).
We should fix this by changing FCKConfig.ProcessHTMLEntities, FCKConfig.IncludeLatinEntities and FCKConfig.IncludeGreekEntities to false - but we need to make sure whether this affects <, >, " and & as well, and if so, whether we want these escaped to their entities or not.
For CiviCRM 3.1 we should check whether it applies to the CKEditor that replaced FCKeditor and fix accordingly.
Alternatively, we can teach html2text() to decode the escaped characters (mabye with PHP's html_entity_decode()?), which would solve this issue once and for all WYSIWYG editors.