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:
Kovid Goyal 2011-12-21 12:19:14 +05:30
parent 0faa6cb6ef
commit bd828c5602

View File

@ -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)