lxml doesn't roundtrip comments after </html>
Closed this issue · 0 comments
gsnedders commented
>>> from html5lib import parse, serialize
>>> start = "</html><!-- a --><!-- b -->"
>>> print(serialize(parse(start, treebuilder="lxml"), tree="lxml"))
</html><!-- b --><!-- a -->