fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Experimental DAISY builder.
[librarian.git]
/
src
/
librarian
/
elements
/
footnotes
/
__init__.py
diff --git
a/src/librarian/elements/footnotes/__init__.py
b/src/librarian/elements/footnotes/__init__.py
index
82f6497
..
6e00385
100644
(file)
--- a/
src/librarian/elements/footnotes/__init__.py
+++ b/
src/librarian/elements/footnotes/__init__.py
@@
-6,6
+6,9
@@
class Footnote(WLElement):
pass
def html_build(self, builder):
+ if not builder.with_footnotes:
+ return
+
builder.footnote_counter += 1
fn_no = builder.footnote_counter
footnote_id = 'footnote-idm{}'.format(self.attrib['_compat_ordered_id'])