[Checkins] [zopefoundation/z3c.pt] c79877: Create a branch to do a bugfix related to generati...
GitHub
noreply at github.com
Mon Feb 25 04:17:32 UTC 2013
Branch: refs/heads/chrism-gen-unicode-fix
Home: https://github.com/zopefoundation/z3c.pt
Commit: c798771d283ee6d3469a88e37852992a99443c5b
https://github.com/zopefoundation/z3c.pt/commit/c798771d283ee6d3469a88e37852992a99443c5b
Author: Chris McDonough <chrism at plope.com>
Date: 2008-07-20 (Sun, 20 Jul 2008)
Log Message:
-----------
Create a branch to do a bugfix related to generation code encoding.
Commit: 1f4933e1eb6ef321cf3978ce5b09b22840ed4856
https://github.com/zopefoundation/z3c.pt/commit/1f4933e1eb6ef321cf3978ce5b09b22840ed4856
Author: Chris McDonough <chrism at plope.com>
Date: 2008-07-20 (Sun, 20 Jul 2008)
Changed paths:
M CHANGES.txt
M src/z3c/pt/generation.py
A src/z3c/pt/tests/test_generation.py
Log Message:
-----------
- A bug was fixed whereby including numeric entity elements
in the source of a PageTemplate would cause a UnicodeDecodeError.
[chrism]
Repeat by attempting to run the following script under an unfixed
version:
import z3c.pt
from zope.configuration import xmlconfig
xmlconfig.file('configure.zcml', z3c.pt)
pt = """<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal">
©
</html>"""
from z3c.pt.pagetemplate import PageTemplate
t = PageTemplate(pt)
t.render()
Compare: https://github.com/zopefoundation/z3c.pt/compare/c798771d283e^...1f4933e1eb6e
More information about the checkins
mailing list