mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix regression in 0.4.122 that affected the handling of HTML entities
This commit is contained in:
parent
d38e5561b6
commit
35e07dfadb
@ -381,7 +381,7 @@ def strftime(fmt, t=time.localtime()):
|
|||||||
|
|
||||||
def my_unichr(num):
|
def my_unichr(num):
|
||||||
try:
|
try:
|
||||||
unichr(num)
|
return unichr(num)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return u'?'
|
return u'?'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user