mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
e198d427b5
commit
2ce28d5f2a
@ -327,6 +327,9 @@ class Mobi8Reader(object):
|
|||||||
m = self.id_re.match(tag) or self.name_re.match(tag)
|
m = self.id_re.match(tag) or self.name_re.match(tag)
|
||||||
if m is not None:
|
if m is not None:
|
||||||
return m.group(1)
|
return m.group(1)
|
||||||
|
# For some files, kindlegen apparently creates links to tags
|
||||||
|
# without HTML anchors, using the AID instead. See
|
||||||
|
# See http://www.mobileread.com/forums/showthread.php?t=259557
|
||||||
m = self.aid_re.match(tag)
|
m = self.aid_re.match(tag)
|
||||||
if m is not None:
|
if m is not None:
|
||||||
self.linked_aids.add(m.group(1))
|
self.linked_aids.add(m.group(1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user