forked from LiveCarta/BookConverter
epub converter: update footnotes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user