如何避免ckeditor替换&;这是真正的标签

如何避免ckeditor替换&;这是真正的标签,ckeditor,Ckeditor,使用CKEDITOR3,我需要能够输入: <p>dummy</p>: This tag is really good at stuff.... dummy:这个标签真的很擅长做东西。。。。 请注意,括号应该显示,因为它用于记录标记 当我在texteditor区域中输入括号时,它们被保存在db As etc中,并被检索回textarea的源代码As,但随后CKEDITOR htmlWriter可能会插入并剥离<到括号中,这就是编辑器中显示的内容 我可以在CKEdit

使用CKEDITOR3,我需要能够输入:

<p>dummy</p>: This tag is really good at stuff....
dummy

:这个标签真的很擅长做东西。。。。
请注意,括号应该显示,因为它用于记录标记

当我在texteditor区域中输入括号时,它们被保存在db As etc中,并被检索回textarea的源代码As,但随后CKEDITOR htmlWriter可能会插入并剥离<到括号中,这就是编辑器中显示的内容

我可以在CKEditor中防止这种行为吗。如果我要输入真正的标记,我将使用CKEDITOR源代码视图。现在我真的很想把标签打印出来,这样就可以保留标签了

注意:

If I enter &amp;lt;test&amp;gt; and submits the code, 
the editor first changes to &lt;test&gt; and then submitted once more,
to <test>.
如果我输入&;书信电报;测试及测试;燃气轮机;并提交代码,
编辑器首先更改为test,然后再次提交,
到

如果其他人绊倒:

只需通过数据槽即可

(php): $ckHtml = htmlspecialchars($theText)
在将主体数据显示到CK编辑器区域之前