Commit ab0b7c1d authored by Andreas Jung's avatar Andreas Jung

- Collector #1583/ZReST: Fixed handling of the title attribute

        for non-ascii characters.
parent fca9a010
......@@ -41,6 +41,9 @@ Zope Changes
Bugs fixed
- Collector #1583/ZReST: Fixed handling of the title attribute
for non-ascii characters.
- Collector #1577: Fixed cryptic error message in ZPublisher if a
non-ASCII string is passed to a date, int, long or float property.
......
......@@ -215,7 +215,7 @@ class ZReST(Item, PropertyManager, Historical, Implicit, Persistent):
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)
......
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