The emitted output uses self-closing tags for empty elements, this could cause some edge cases because self-closing tags aren't real.
<div /> is the same as <div>, the slash is ignored.
In XML and XHTML, <div /> means <div></div>, but not in HTML.
Solution
Emit <div></div>, not <div />
The emitted output uses self-closing tags for empty elements, this could cause some edge cases because self-closing tags aren't real.
<div />is the same as<div>, the slash is ignored.In XML and XHTML,
<div />means<div></div>, but not in HTML.Solution
Emit
<div></div>, not<div />