Fix entity detecting regexp in opy metadata reader.

This commit is contained in:
Kovid Goyal 2007-11-04 20:10:17 +00:00
parent aebce8ac6f
commit 138ab98490

View File

@ -92,7 +92,7 @@ class TOC(list):
class OPFReader(MetaInformation):
ENTITY_PATTERN = re.compile(r'&(\S+);')
ENTITY_PATTERN = re.compile(r'&(\S+?);')
def __init__(self, stream, dir=os.getcwd()):
manage = False