fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Basic biblical tools.
[librarian.git]
/
src
/
librarian
/
elements
/
comments
/
abstrakt.py
diff --git
a/src/librarian/elements/comments/abstrakt.py
b/src/librarian/elements/comments/abstrakt.py
index
9b43dc3
..
b5bf8d6
100644
(file)
--- a/
src/librarian/elements/comments/abstrakt.py
+++ b/
src/librarian/elements/comments/abstrakt.py
@@
-1,3
+1,6
@@
+# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
+#
from ..base import WLElement
from ..base import WLElement
@@
-6,4
+9,9
@@
class Abstrakt(WLElement):
pass
def html_build(self, builder):
pass
def html_build(self, builder):
+ if not self.attrib.get('_force', False):
+ return
+ return super().html_build(builder)
+
+ def epub_build(self, builder):
pass
pass