try this sfOutputEscaper::unescape(valute_to_unescape)
regards, On Thu, Apr 8, 2010 at 3:35 PM, Apul Gupta <apulmca...@gmail.com> wrote: > It doesn't work. > > Fatal error: Call to a member function getRawValue() on a non-object > > Any other? > > On Apr 7, 5:59 pm, Massimiliano Arione <garak...@gmail.com> wrote: > > try > > > > $variable->getRawValue() > > > > cheers > > Massimiliano > > > > On 7 Apr, 06:07, Apul Gupta <apulmca...@gmail.com> wrote: > > > > > > > > > No rekarnar, > > > > > still it doesn't Work. Any other suggestion? > > > > > I am getting this in browsers: > > > > > ========================================== > > > <strong><a title="title" href="http://www.abcd.com">Welcome Text</a> > </ > > > strong> > > > > > ========================================== > > > > > and in HTML: > > > > > ========================================== > > > <strong><a title="title" href="http://www.abcd.com">Welcome > Text</a> > > > ========================================== > > > > > I can fix the problem using settings.yml file in module/application > > > but, I just want to know that why $sf_data->getRaw() not working > > > expectedly. > > > > > Please help to fix the issue. > > > > > On Apr 7, 7:03 am, rekarnar <rekar...@gmail.com> wrote: > > > > > > Try $sf_data->get('variable_name',ESC_RAW); > > > > > > On Apr 6, 7:18 pm, Apul Gupta <apulmca...@gmail.com> wrote: > > > > > > > I haven't use that but I know that it will work. But, Can't we get > un- > > > > > escaped data without doing any YML changes as It is mentioned in > > > > > Documentation that, We will get raw data by using $sf_data- > > > > > > > >getRaw('sf_content'); > > > > > > > Why this is not working expectedly? I am using Symfony 1.4.2 > version. > > > > > > > Any idea? > > > > > > > --- > > > > > Thanks > > > > > Apul Gupta > > > > > > > On Apr 6, 10:19 am, 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<symfony-users%2bunsubscr...@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<symfony-users%2bunsubscr...@googlegroups.com> > 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 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