http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer#chapter_07_sub_activating_output_escaping

    echo $sf_data->getRaw('test');

Make sure you cleanse the content to avoid html injection and xss.

On Sun, Oct 18, 2009 at 09:42, mini_alexander <aoohra...@gmail.com> wrote:
>
> I use rich text editor - tinyMCE to format text but after used it, it
> shows html in next page in view as a text - how can I show html as a
> html ? Now I have in view:
>
> echo $object['description'];
>
> Should I use function html_entity_decode() ?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to