Yes, thanks. xmlescape(s) - makes tags safe
On 20 авг, 17:16, mdipierro <[email protected]> wrote: > something like this? > > '<br/>'.join(xmlescape(s) for s in t.split('&&')) > > On Aug 19, 11:25 pm, KMax <[email protected]> wrote: > > > > > Hello > > I have a string with '&&' which must be replaced by <br /> > > If I change all && with <br /> and XML it, it could miss other html > > tag in a string > > I could join '<br/ >'.join(DIV(substr)), but I do not need div tag > > in output. > > > So how to escaped string without DIV or other HTML helper? > > > I look at web2py source, but miss that thing. > > > Thank you.

