Re: Escape Filter

2007-03-19 Thread mario__
On Mar 16, 2:02 pm, "Frankie Robertson" <[EMAIL PROTECTED]> wrote: > > {{ text|escape|linebreaksbr }} > > does what you want. Personally I prefer: > > {{ text|escape|linebreaks }} > mmh you're rigth. I didn't look that filter. Thanks! > > > --http://www.advogato.org/person/mgonzalez/ --~--~-

Re: Escape Filter

2007-03-16 Thread Frankie Robertson
On Mar 16, 5:33 pm, Mario <[EMAIL PROTECTED]> wrote: > I've got a problem with escape filter. I need to convert \n to , > however I don't need a new line beetween a line as the linebreaks > filter does. > > If I add a .replace('\n', '') in the escape method() from > django.utils.html I've got