mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
DOCX Output: Fix repeated anchor names in different HTML files leading to links int he output document pointing to incorrect locations. Fixes #1690365 [Footnotes do not work and iIncorrect position of pictures after conversion from azw3 to docx](https://bugs.launchpad.net/calibre/+bug/1690365)
This commit is contained in:
parent
bb6158f57e
commit
a24f489822
@ -93,6 +93,7 @@ class LinksManager(object):
|
|||||||
i += 1
|
i += 1
|
||||||
name = bname + ('_%d' % i)
|
name = bname + ('_%d' % i)
|
||||||
self.anchor_map[key] = name
|
self.anchor_map[key] = name
|
||||||
|
self.used_bookmark_names.add(name)
|
||||||
return name
|
return name
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
x
Reference in New Issue
Block a user