fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add tag ramka
[librarian.git]
/
librarian
/
html.py
diff --git
a/librarian/html.py
b/librarian/html.py
index
70fc6e5
..
c634874
100644
(file)
--- a/
librarian/html.py
+++ b/
librarian/html.py
@@
-208,7
+208,7
@@
def any_ancestor(element, test):
def add_anchors(root):
counter = 1
for element in root.iterdescendants():
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')
+ if any_ancestor(element, lambda e: e.get('class') in ('note', 'motto', 'motto_podpis', 'dedication'
, 'frame'
)
or e.get('id') == 'nota_red'
or e.tag == 'blockquote'):
continue
or e.get('id') == 'nota_red'
or e.tag == 'blockquote'):
continue