X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/db91f942ce46e3af1420f3469a83257ef5aca4c2..4cd6cb040e4938a726585e678d72dbd67b8f005d:/src/librarian/html.py?ds=inline diff --git a/src/librarian/html.py b/src/librarian/html.py index f0f11db..d4b9795 100644 --- a/src/librarian/html.py +++ b/src/librarian/html.py @@ -114,7 +114,8 @@ def transform(wldoc, stylesheet='legacy', options=None, flags=None, css=None, ga document.clean_ed_note() document.clean_ed_note('abstrakt') - + document.fix_pa_akap() + if not options: options = {} @@ -319,6 +320,7 @@ def add_anchors(root): ) or e.get('id') == 'nota_red' or e.tag == 'blockquote' + or e.get('id') == 'footnotes' ) if any_ancestor(element, f): continue