mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Fix entity detecting regexp in opy metadata reader.
This commit is contained in:
parent
aebce8ac6f
commit
138ab98490
@ -92,7 +92,7 @@ class TOC(list):
|
|||||||
|
|
||||||
class OPFReader(MetaInformation):
|
class OPFReader(MetaInformation):
|
||||||
|
|
||||||
ENTITY_PATTERN = re.compile(r'&(\S+);')
|
ENTITY_PATTERN = re.compile(r'&(\S+?);')
|
||||||
|
|
||||||
def __init__(self, stream, dir=os.getcwd()):
|
def __init__(self, stream, dir=os.getcwd()):
|
||||||
manage = False
|
manage = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user