X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/3acdb97ed96bb54a04c031e017c2059f86db57e4..2a2d17a7156c427e128e5308a33f599147e9ee76:/librarian/html.py diff --git a/librarian/html.py b/librarian/html.py index 73da1b8..defb84c 100644 --- a/librarian/html.py +++ b/librarian/html.py @@ -217,7 +217,7 @@ def add_anchors(root): counter = 1 for element in root.iterdescendants(): def f(e): - return e.get('class') in ('note', 'motto', 'motto_podpis', 'dedication') or \ + return e.get('class') in ('note', 'motto', 'motto_podpis', 'dedication', 'frame') or \ e.get('id') == 'nota_red' or e.tag == 'blockquote' if any_ancestor(element, f): continue