[CMF-checkins] CVS: Products/CMFDefault - Document.py:1.56.4.4
Tres Seaver
tseaver at zope.com
Sun Aug 1 16:33:55 EDT 2004
Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv13001/CMFDefault
Modified Files:
Tag: CMF-1_4-branch
Document.py
Log Message:
- Make Document render compliant XHTML when format is 'plain' (thanks to
Eric Brown for the patch).
=== Products/CMFDefault/Document.py 1.56.4.3 => 1.56.4.4 ===
--- Products/CMFDefault/Document.py:1.56.4.3 Sun Jul 25 16:12:17 2004
+++ Products/CMFDefault/Document.py Sun Aug 1 16:33:25 2004
@@ -145,7 +145,7 @@
self.text = self.cooked_text = text
elif text_format == 'plain':
self.text = text
- self.cooked_text = html_quote(text).replace('\n','<br>')
+ self.cooked_text = html_quote(text).replace('\n','<br />')
else:
self.cooked_text = format_stx(text=text, level=level)
self.text = text
More information about the CMF-checkins
mailing list