This commit is contained in:
Kovid Goyal 2007-12-31 18:03:17 +00:00
parent b39538fbc8
commit 3c3feea52d

View File

@ -547,7 +547,7 @@ class Text(LRFStream):
style = property(fget=lambda self : self._document.objects[self.style_id])
text_map = { 0x22: u'"', 0x26: u'&', 0x27: u'&squot;', 0x3c: u'<', 0x3e: u'>' }
text_map = { 0x22: u'"', 0x26: u'&', 0x27: u'\'', 0x3c: u'<', 0x3e: u'>' }
entity_pattern = re.compile(r'&(\S+?);')
text_tags = {