In the template

<?php echo $object->getAtributte(ESC_RAW) ?>



On 8 čvn, 14:26, el-sid <[email protected]> wrote:
> i mean unescape selected content
>
> On Jun 8, 3:23 pm, el-sid <[email protected]> wrote:
>
>
>
> > hello all,
>
> > I am trying to render content from the database that was stored using
> > tiny_mice and sfFormExtraPlugin
>
> > in the controller
>
> > $this->articles = Doctrine::getTable('Articles')-
>
> > >getNewsItems($request->getParameter('id'));
>
> > in the template, i try this after looping in a foreach
>
> > <php article->getRaw('content') ?>
>
> > the result is a blank page(not white screen) where the content should
> > render
>
> > if i look at the view source of the browser, the data is there nicely
> > formatted and unescaped.
>
> > I want to leave escaping strategy on and only escape selected content.
> > I am using symfony 1.4
>
> > any ideas?
>
> > thanks

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

Reply via email to