Message31179
Hello,
I've been able to fix this entity conversion bug with the following patch.
Cheers,
Odie
--- /usr/lib/python2.5/sgmllib.py 2007-05-27 17:55:15.000000000 +0200
+++ modules/sgmllib.py 2007-06-06 18:29:13.000000000 +0200
@@ -396,7 +396,7 @@
return self.convert_codepoint(n)
def convert_codepoint(self, codepoint):
- return chr(codepoint)
+ return unichr(codepoint)
def handle_charref(self, name):
"""Handle character reference, no need to override."""
|
|
Date |
User |
Action |
Args |
2007-08-23 14:51:44 | admin | link | issue1651995 messages |
2007-08-23 14:51:44 | admin | create | |
|