tyxml
tyxml copied to clipboard
`~indent:true` generates broken HTML
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.
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.