forked from LiveCarta/BookConverter
epub converter: fix footnotes
This commit is contained in:
@@ -306,7 +306,7 @@ class EpubPostprocessor:
|
||||
f' While processing {internal_link_tag}')
|
||||
|
||||
anchor_tag = anchor_tags[0]
|
||||
assert anchor_tag.attrs['id'] == new_id
|
||||
assert anchor_tag.attrs['id'] in [new_id, a_tag_id]
|
||||
# if anchor is found we could add placeholder for link creation on server side.
|
||||
internal_link_tag.attrs['placeholder'] = '{{tempStyleToAnchor-' + new_id + '}}'
|
||||
# create span to have cyclic links, link has 1 type of class, anchor another
|
||||
|
||||
Reference in New Issue
Block a user