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