mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-25 08:12:35 -04:00
Fix regression in 0.4.122 that affected the handling of HTML entities
This commit is contained in:
@@ -381,7 +381,7 @@ def strftime(fmt, t=time.localtime()):
|
||||
|
||||
def my_unichr(num):
|
||||
try:
|
||||
unichr(num)
|
||||
return unichr(num)
|
||||
except ValueError:
|
||||
return u'?'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user