Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upThe serializer sometimes omits the last token #342
Comments
|
I'm guessing this behavior is deliberate. Try this and you'll get a different result:
|
|
I see, thanks. Although that seems like a terrible default. |
|
We seem not to have a bug for changing to matching how the spec says to serialise stuff, which would change this… Oh well, we have #344 now. As @cjerdonek says, this is by design. |


I've noticed that html5lib.serializer.HTMLSerializer sometimes does not emit the last closing tag for fragments.
Demonstration of the bug