epub converter: update footnotes

This commit is contained in:
shirshasa
2021-07-09 12:24:56 +03:00
parent 90c5587570
commit 0127d73aed

View File

@@ -225,6 +225,9 @@ class EpubPostprocessor:
if tag.attrs.get('class') == 'converter-chapter-mark':
continue
if tag.attrs.get('class') == 'footnote-element':
continue
new_id = self._create_unique_id(href, tag.attrs['id'])
tag.attrs['id'] = new_id