FCKeditor更改'<'到'<'和'>'到'>'导致错误

时间:2012-02-15 12:29:59

标签: php parsing html-parsing special-characters fckeditor

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

1 个答案:

答案 0 :(得分:2)

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

检查basicEntities部分。但是,这是针对CKEditor的,FCKEditor可能没有这个。也许你应该考虑升级?

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

相关问题