[CMF-checkins] CVS: CMF/CMFCollector - WebTextDocument.py:1.4

Ken Manheimer klm@zope.com
Mon, 12 Nov 2001 10:47:50 -0500


Update of /cvs-repository/CMF/CMFCollector
In directory cvs.zope.org:/tmp/cvs-serv13501

Modified Files:
	WebTextDocument.py 
Log Message:
.handleText(): Last change was mostly right, but have to keep the body
as the original text, *not* the cooked version.


=== CMF/CMFCollector/WebTextDocument.py 1.3 => 1.4 ===
                                        stx_level=stx_level or self._stx_level)
         else:
-            cooked = body = util.format_webtext(text)
+            body = text
+            cooked = util.format_webtext(body)
             headers = {}
             return headers, body, cooked, format