From ef08e0561b644913f99401373890c97218ec5b81 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 23 Nov 2010 15:48:25 +0100 Subject: [PATCH] line numbering fix --- librarian/html.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.20.1