[Zope-Checkins] CVS: Zope/lib/python/StructuredText - HTMLClass.py:1.14

Andreas Jung andreas@zope.com
Tue, 16 Oct 2001 09:29:14 -0400


Update of /cvs-repository/Zope/lib/python/StructuredText
In directory cvs.zope.org:/tmp/cvs-serv32431

Modified Files:
	HTMLClass.py 
Log Message:
reverted elemination of leading/trailing whitespaces because with the change
the HTMLCLass magically inserts <p>...</p> were it shouldn't.


=== Zope/lib/python/StructuredText/HTMLClass.py 1.13 => 1.14 ===
 ##############################################################################
 
-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 @@
         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()