I make some changes over the post before storing it in the database. I use content_save_pre. Some characters like " get done into
“ in the JavaSript code which I insert (part of the change). How do I prevent that from happaning?
migrated from stackoverflow.com Jul 2 '11 at 23:00
This question came from our site for professional and enthusiast programmers.
It seems that the "convert_chars" filter is causing the trouble, try removing it by:
Also try removing the richedit_pre hook (which formats the text for the rich text editor, also uses convert_chars function) by:
Hope that helps!