Skip to content
Commit 92d9ab4c authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

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.
parent 3e1aad4f
Pipeline #288395 passed with stage
in 11 minutes and 23 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment