That's because symfony escapes the data you pass to the view. If you
want to display it as it is stored in the DB, use
echo $dias->getDescription(ESC_RAW);
http://www.symfony-project.org/gentle-introduction/1_4/en/07-Inside-the-View-Layer#chapter_07_output_escaping
On Sun, Oct 31, 2010 at 03:23, Martin Ibarra Cervantes
<[email protected]> wrote:
> hi, iam using the tiny mce wysinyg editor and i am save the html tags
> into the database,
>
> with my editor save:
>
> <p> Este es un bonito dia</p> <strong>buen dia </strong>
>
> but when i get the data back from the table
>
> and try display in my view
>
> echo $dias->getDescripcion();
>
> display with all html tags and not display bolds words [buen dia]
>
> <p> Este es un bonito dia</p> <strong>buen dia </strong>
>
>
> you can help me.
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en