[Zope-Checkins] CVS: Zope/lib/python/Products/ZReST - ZReST.py:1.6.12.8

Andreas Jung andreas at andreas-jung.com
Thu Nov 18 08:15:52 EST 2004


Update of /cvs-repository/Zope/lib/python/Products/ZReST
In directory cvs.zope.org:/tmp/cvs-serv18057/lib/python/Products/ZReST

Modified Files:
      Tag: Zope-2_7-branch
	ZReST.py 
Log Message:
      - Collector #1583/ZReST: Fixed handling of the title attribute
        for non-ascii characters.


=== Zope/lib/python/Products/ZReST/ZReST.py 1.6.12.7 => 1.6.12.8 ===
--- Zope/lib/python/Products/ZReST/ZReST.py:1.6.12.7	Wed Aug  4 07:35:30 2004
+++ Zope/lib/python/Products/ZReST/ZReST.py	Thu Nov 18 08:15:52 2004
@@ -215,7 +215,7 @@
         if document.children:
             item = document.children[0]
             if item.tagname == 'title':
-                self.title = str(item.children[0])
+                self.title = item.children[0].astext()
 
         # do the format
         self.formatted = pub.writer.write(document, pub.destination)



More information about the Zope-Checkins mailing list