TinyMCE escapes some especial characters -
when, example, write html tinymce:
<p>asdasd</p> <p class="relevant">asd</p> <p>as</p> the php receives form post prints next:
<p>asdasd</p> <p class=\"relevant\">asd</p> <p>as</p> how can turn off behavior?
thank in advance
this due magicquotes feature in php , covered in tinymce faq.
the simplest way deal disable feature, has been deprecated of php 5.3.0
an alternative clean results using
stripslashes($_post['text']);
Comments
Post a Comment