[symfony-users] Re: Output Escaping

2009-07-14 Thread Tanner

Does anyone else have any suggestions?

On Jul 13, 9:45 pm, Tanner wesl...@gmail.com wrote:
 I did.

 On Jul 12, 9:47 pm, Eno symb...@gmail.com wrote:

  On Sun, 12 Jul 2009, Tanner wrote:
   When I print an object out of the database in a form, the content is
   not escaped. I have properly set escaping_strategy and
   escaping_method in my app's settings.yml file, but it just doesn't
   work. I am getting an object from the database like this:

   $this-object = SomeTablePeer::retrieveByPk($id);

   In my template when I print:
   echo $object-getDescription();

   It does not strip html elements.

   Here is what my settings.yml looks like:
   all:
     escaping_strategy:      on
     escaping_method:        ESC_ENTITIES

  Did you clear you cache? :-)

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



[symfony-users] Re: Output Escaping

2009-07-13 Thread Tanner

I did.

On Jul 12, 9:47 pm, Eno symb...@gmail.com wrote:
 On Sun, 12 Jul 2009, Tanner wrote:
  When I print an object out of the database in a form, the content is
  not escaped. I have properly set escaping_strategy and
  escaping_method in my app's settings.yml file, but it just doesn't
  work. I am getting an object from the database like this:

  $this-object = SomeTablePeer::retrieveByPk($id);

  In my template when I print:
  echo $object-getDescription();

  It does not strip html elements.

  Here is what my settings.yml looks like:
  all:
    escaping_strategy:      on
    escaping_method:        ESC_ENTITIES

 Did you clear you cache? :-)

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



[symfony-users] Output Escaping

2009-07-12 Thread Tanner

When I print an object out of the database in a form, the content is
not escaped. I have properly set escaping_strategy and
escaping_method in my app's settings.yml file, but it just doesn't
work. I am getting an object from the database like this:

$this-object = SomeTablePeer::retrieveByPk($id);

In my template when I print:
echo $object-getDescription();

It does not strip html elements.

Here is what my settings.yml looks like:
all:
  escaping_strategy:  on
  escaping_method:ESC_ENTITIES

Any ideas?

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