Open domenic opened 3 years ago
Possibly coming from https://github.com/html5lib/html5lib-python upstream
Ran into this again today.
No, it's just that right now my serializer categorizes each tag as either block or inline-level, and this affects how it formats. But ins/del are weird tags that can be used both ways, so I probably need to actually special-case them and treat them as block when they contain a block tag and inline otherwise. This'll require some rewriting of how my serializer logic works.
Input:
Relevant portion of the output:
Note the bad spaces it added around the ins and del tags.