It doesn't work, it gives me the error "unexpected keyword argument escape".
Is there a way to remove double quotes when printing content containing html tags? Thanks On Feb 19, 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