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