Commit 5c3ff518 authored by Andreas Jung's avatar Andreas Jung

revert stripping of spaces (produces wrong HTML in some situations)

parent ef759b52
...@@ -51,7 +51,7 @@ class HTMLClass: ...@@ -51,7 +51,7 @@ class HTMLClass:
return ''.join(r) return ''.join(r)
def _text(self, doc, level, output): def _text(self, doc, level, output):
output(doc.getNodeValue().strip()) output(doc.getNodeValue())
def document(self, doc, level, output): def document(self, doc, level, output):
children=doc.getChildNodes() children=doc.getChildNodes()
......
Markdown is supported
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