我在我的網站上使用ckeditor,並且在頂部顯示章節名稱時我有一個單獨的框。CKEditor在我的頁面上每次使用撇號保存某些內容
<input type="text" id="chapter" name="chapter" value="'.$chapter_title.'"/>
每次我保存CKeditor頁面時,當我有一個apostrophie它把一個\的章節名稱。
eg. John's becomes John\'s
Then each time I save it adds more \
so second time John's becomes John\\'s then third time John\\\'s etc.
有沒有人知道如何制止這個請?
[CKEditor在HTML標記中保存帶有額外斜槓的文本]的可能重複(http://stackoverflow.com/questions/1749720/ckeditor-is-saving-text-with-extra-slashes-in-html-tags ) – CodeCaster 2012-03-16 09:52:43