Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
ab0b7c1d
Commit
ab0b7c1d
authored
Nov 18, 2004
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Collector #1583/ZReST: Fixed handling of the title attribute
for non-ascii characters.
parent
fca9a010
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
doc/CHANGES.txt
doc/CHANGES.txt
+3
-0
lib/python/Products/ZReST/ZReST.py
lib/python/Products/ZReST/ZReST.py
+1
-1
No files found.
doc/CHANGES.txt
View file @
ab0b7c1d
...
@@ -41,6 +41,9 @@ Zope Changes
...
@@ -41,6 +41,9 @@ Zope Changes
Bugs fixed
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
- Collector #1577: Fixed cryptic error message in ZPublisher if a
non-ASCII string is passed to a date, int, long or float property.
non-ASCII string is passed to a date, int, long or float property.
...
...
lib/python/Products/ZReST/ZReST.py
View file @
ab0b7c1d
...
@@ -215,7 +215,7 @@ class ZReST(Item, PropertyManager, Historical, Implicit, Persistent):
...
@@ -215,7 +215,7 @@ class ZReST(Item, PropertyManager, Historical, Implicit, Persistent):
if
document
.
children
:
if
document
.
children
:
item
=
document
.
children
[
0
]
item
=
document
.
children
[
0
]
if
item
.
tagname
==
'title'
:
if
item
.
tagname
==
'title'
:
self
.
title
=
str
(
item
.
children
[
0
]
)
self
.
title
=
item
.
children
[
0
].
astext
(
)
# do the format
# do the format
self
.
formatted
=
pub
.
writer
.
write
(
document
,
pub
.
destination
)
self
.
formatted
=
pub
.
writer
.
write
(
document
,
pub
.
destination
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment