[LAW-3262] fix footnote href

This commit is contained in:
shirshasa
2020-10-13 19:36:04 +03:00
parent d22103239f
commit 47cb02bc54

View File

@@ -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 = ''