mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
MOBI Output: Fix regression in 0.8.30 that caused the use of hidden heading elements for the TOC to generate links in the wrong place. Fixes #907156 (Private bug)
This commit is contained in:
parent
0faa6cb6ef
commit
bd828c5602
@ -325,6 +325,7 @@ class MobiMLizer(object):
|
||||
elem.text = None
|
||||
elem.set('id', id_)
|
||||
elem.tail = tail
|
||||
elem.tag = XHTML('a')
|
||||
else:
|
||||
return
|
||||
tag = barename(elem.tag)
|
||||
|
Loading…
x
Reference in New Issue
Block a user