I’m working on a first symfony project, i am using the sfWidgetFormTextareaTinyMCE widget for a form tinymce text area. It works fine, but while retrieving from database, instead of showing me the formated text, i have the <strong>,<p>,<br>tags in the text. help me please
I’m working on a first symfony project, i am using the sfWidgetFormTextareaTinyMCE widget for
Share
You have output escaping turned on in your application. To avoid it for that specific output you can use the
$sf_data->getRaw()method available in your templates like this:That is assuming that the raw HTML you wanted to display is stored in $html within the template by your action:
Hope that helps.