diff --git a/src/html_preprocessor.py b/src/html_preprocessor.py index 2a3eb3c..0b36191 100644 --- a/src/html_preprocessor.py +++ b/src/html_preprocessor.py @@ -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 = ''