forked from LiveCarta/BookConverter
[LAW-3262] fix footnote href
This commit is contained in:
@@ -318,7 +318,8 @@ class HTMLPreprocessor:
|
||||
sup = cont_tag.find_all('p')[0].find('sup')
|
||||
if sup and sup.text == a_text:
|
||||
sup.decompose()
|
||||
for tag_a in cont_tag.find_all('a'):
|
||||
|
||||
for tag_a in cont_tag.find_all('a', {'class': 'sdfootnotesym'}):
|
||||
tag_a.decompose()
|
||||
|
||||
unicode_string = ''
|
||||
|
||||
Reference in New Issue
Block a user