mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-02 20:06:31 +01:00
Fix #420
This commit is contained in:
parent
b39538fbc8
commit
3c3feea52d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue