Commit bfce899d authored by Andreas Jung's avatar Andreas Jung

added \n for <pre>...</pre>

parent 0379a64e
...@@ -198,9 +198,9 @@ class HTMLClass: ...@@ -198,9 +198,9 @@ class HTMLClass:
i=0 i=0
for c in doc.getChildNodes(): for c in doc.getChildNodes():
if i==0: if i==0:
output('<pre>') output('\n<pre>\n')
output(escape(c.getNodeValue())) output(escape(c.getNodeValue()))
output('</pre>\n') output('\n</pre>\n')
else: else:
getattr(self, self.element_types[c.getNodeName()])( getattr(self, self.element_types[c.getNodeName()])(
c, level, output) c, level, output)
......
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