X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/f776aa6753a2bd367287c668006e91b5add02b32..57dc61cf3e34d3acd054383842be40b974e2e2cf:/librarian/html.py?ds=inline

diff --git a/librarian/html.py b/librarian/html.py
index 9869513..5974d93 100644
--- a/librarian/html.py
+++ b/librarian/html.py
@@ -271,7 +271,7 @@ def extract_annotations(html_path):
     footnotes = tree.find('//*[@id="footnotes"]')
     if footnotes is not None:
         for footnote in footnotes.findall('div'):
-            anchor = footnote.find('a[@href]').get('href')
+            anchor = footnote.find('a[@name]').get('name')
             del footnote[:2]
             text_str = etree.tostring(footnote, method='text', encoding='utf-8').strip()
             html_str = etree.tostring(footnote, method='html', encoding='utf-8')