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:
Kovid Goyal 2017-05-21 08:31:39 +05:30
parent bb6158f57e
commit a24f489822
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -93,6 +93,7 @@ class LinksManager(object):
i += 1
name = bname + ('_%d' % i)
self.anchor_map[key] = name
self.used_bookmark_names.add(name)
return name
@property