I'm doing some testing with special characters and can't get WYMEditor to properly handle them.
For instance, my string is:
- Code: Select all
“test1” ‘test2’
I paste this into the WYM editor window and see exactly that string. In the HTML input, it shows exactly the same (surrounded by <p> tags).
However, when I parse the WYM text to the next script, it actually shows this:
- Code: Select all
<p>“test1†‘test2’</p>
Any ideas how I can prevent this from happening? Obviously my filters to prevent this come in too late as it is actually the editor window doing the switch.
Thanks