Closed nilsbunger closed 9 years ago
<br/> is actually the proper tag for html carriage returns. <br> is only supported for legacy code.
This applies more broadly. I just hit it on < img > as well. According to http://w3c.github.io/html-reference/syntax.html, this list is all valid as "void elements" (no closing tag): area, base, br, col, command, embed, hr, img, input, keygen, link, meta, param, source, track, wbr
Pyxl doesn't support the self-closing tags without the slash (or the html5 closing tag-free variants of <p>
, <li>
etc.).
is self-closing in HTML; our parser however doesn't recognize it.