tyxml icon indicating copy to clipboard operation
tyxml copied to clipboard

`~indent:true` generates broken HTML

Open redianthus opened this issue 2 years ago • 1 comments

Hi,

This is quite similar to #287 and #288 but more annoying...

When using br () and ~indent:true, sometimes there will be a line break in the middle of the generated <br />, for instance:

... <
... br />

Thus the produced HTML is invalid (< is not escaped...) and <br/> will even be displayed in the rendered page, which is of course problematic.

redianthus avatar Dec 18 '23 17:12 redianthus

grmbl, this is getting quite annoying indeed. I think we should just find better ways to externalize this printing to lambdasoup and make that the easy path.

Drup avatar Dec 18 '23 17:12 Drup