mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #420
This commit is contained in:
parent
b39538fbc8
commit
3c3feea52d
@ -547,7 +547,7 @@ class Text(LRFStream):
|
|||||||
|
|
||||||
style = property(fget=lambda self : self._document.objects[self.style_id])
|
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+?);')
|
entity_pattern = re.compile(r'&(\S+?);')
|
||||||
|
|
||||||
text_tags = {
|
text_tags = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user