Commit 96b46134 authored by Andreas Jung's avatar Andreas Jung

reverted elemination of leading/trailing whitespaces because with the change

the HTMLCLass magically inserts <p>...</p> were it shouldn't.
parent 5318d7b4
......@@ -83,7 +83,7 @@
#
##############################################################################
from string import join, split, find, strip
from string import join, split, find
from cgi import escape
import re, sys, ST
......@@ -124,7 +124,7 @@ class HTMLClass:
return join(r,'')
def _text(self, doc, level, output):
output(strip(doc.getNodeValue()))
output((doc.getNodeValue()))
def document(self, doc, level, output):
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