From: Radek Czajka Date: Tue, 23 Nov 2010 14:48:25 +0000 (+0100) Subject: line numbering fix X-Git-Tag: 1.7~249 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/ef08e0561b644913f99401373890c97218ec5b81?hp=4ed503674ffe1b903eeaaf1afad8f8ae17c08a70 line numbering fix --- diff --git a/librarian/html.py b/librarian/html.py index 3912fbc..c942fe7 100644 --- a/librarian/html.py +++ b/librarian/html.py @@ -204,6 +204,7 @@ def add_anchors(root): counter = 1 for element in root.iterdescendants(): if any_ancestor(element, lambda e: e.get('class') in ('note', 'motto', 'motto_podpis', 'dedication') + or e.get('id') == 'nota_red' or e.tag == 'blockquote'): continue