Fix regression in 0.4.122 that affected the handling of HTML entities

This commit is contained in:
Kovid Goyal 2008-12-30 16:08:49 -08:00
parent d38e5561b6
commit 35e07dfadb

View File

@ -381,7 +381,7 @@ def strftime(fmt, t=time.localtime()):
def my_unichr(num):
try:
unichr(num)
return unichr(num)
except ValueError:
return u'?'