Ah Christian, thanks! It looks like that's exactly what I was looking for!
Ian P. Christian wrote: > Tom Haskins-Vaughan wrote: >> Hi, >> >> I'm just trying to get my head around output escaping. As far as I can >> see from The Book, symfony escapes output to the page rather than >> escaping anything going into the DB, (1) is this right? > > This is correct. This is also how it should be. > >> I have set my strategy to BOTH but I would like to output a certain >> number of HTML tags, namely those used by TinyMCE. (2) What's the best >> way to do this. I've worked out how to output the raw data using >> $sf_data->getRaw(), but I want to stop any scripts that might get output. > > This has nothing to do with the output escaper really. > > Have a look at > http://urbangiraffe.com/plugins/html-purified/ > > Libtidy *might* also be able to help, but I'm not sure about that > # > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---