Commit 92d9ab4c28842a09ca2b76d3ff2f933e01b6cd6f

Nick Wellnhofer 2021-06-07T15:09:53

Fix whitespace when serializing empty HTML documents The old, non-recursive HTML serialization code would always terminate the output with a newline. The new implementation omitted the newline if the document node had no children. Readd the newline when serializing empty documents. Fixes #266.