commit | 92d9ab4c28842a09ca2b76d3ff2f933e01b6cd6f | [log] [tgz] |
---|---|---|
author | Nick Wellnhofer <wellnhofer@aevum.de> | Mon Jun 07 15:09:53 2021 +0200 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Mon Jun 07 15:09:53 2021 +0200 |
tree | 5a5076d69cb54b577ce6ac74c0e494d122ef02f1 | |
parent | 3e1aad4fe584747fd7d17cc7b2863a78e2d21a77 [diff] |
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.