If you have an object with your data, you can use <?php echo $page-
>getContent(ESC_RAW); ?>


On 6 dub, 07:19, Denis Golovin <golovin.de...@gmail.com> wrote:
> Did you try to set escaping-strategy = off in the settings.yml of single 
> module?
>
> Denis
>
> 2010/4/5 Apul Gupta <apulmca...@gmail.com>:
>
>
>
> > Hi,
>
> > Actually, I want to show some HTML text from the database to a
> > template.
>
> > I am using
> > echo $sf_data->getRaw('sf_content');
>
> > to get un-escaped value from the database but still it shows escaped
> > data to me. What should I do to get unescaped value?
>
> > I don't want to SET escaping-strategy = off in settings.yml for the
> > entire application.
>
> > I will appreciate any help.
>
> > ---
> > Thanks
> > Apul Gupta
>
> > --
> > 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 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
>
> > To unsubscribe, reply using "remove me" as the subject.

-- 
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 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