Thanks, but it doesn't work, it gives me the error "unexpected keyword argument escape".
Is there a way to remove double quotes when printing {{=note.content}} ? On Sat, Feb 19, 2011 at 4:03 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > try this: > > {{=XML(note.content,escape=True).xml().replace('\n','<br/>)}} > > > On Feb 19, 8:18 am, Alexandre Strzelewicz > <strzelewicz.alexan...@gmail.com> wrote: > > In my view I display text with : > > {{=note.content}} > > > > But I didnt find a way to replace new line with <br/>. > > I tried directly with replace('\n', '<br/>') but it escapes the br in > > html format > > > > Thanks > -- Cordialement, Alexandre Strzelewicz www.hemca.com