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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -