FCKeditor更改'<';到'&;lt';和'>';到'&a


FCKeditor changes '<' to '&lt;' and '>' to '&gt;' causing errors

FCKeditor v2.6.6将包含<>的输入代码分别更改为&lt;&gt;,导致错误。有没有什么方法可以配置FCKeditor来正确解析这些字符,否则它们会被输入到我们的数据库中,并在PHP文件中输出时被错误地呈现。

http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html

检查basicEntitys部分。然而,这是为CKEditor,FCKEditor可能没有这个。也许你应该考虑升级?

否则,这可能会有所帮助:http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options/ProcessHTMLEntities