I’m using TinyMCE in conjunction with NewsPublisher to post new articles to my blog. The problem arises out of TinyMCE’s insistence on escaping apostrophes with ' It appears that when the modx core encounters ' it simply drops that string. I can provide some examples:
http://www.grunzke.com/30 accepts input similar to NewsPublisher and simply calls print_r($_POST); It’s easy to verify that any apostrophes in the textareas (summary and content) are simply dropped.
Now check
http://www.grunzke.com/tinymce.php - it’s exactly the same code, referencing the same javascript for TinyMCE, only the page is not in the modx environment. Posting a test string and checking the HTML source verifies that TinyMCE is escaping ’ with '
I’ve tried setting the encoding for TinyMCE to raw (as you can see in the source) but it insists on escaping ’s. What do I need to do to get modx to not drop ' from any text input?