X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/0604bdd5f693da9f1c78f9d9fa2276f0c7b6c17b..b1376392167c09775bf57b41cb9ea3016f06cfb8:/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 --- 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 @@ -6,4 +9,9 @@ class Abstrakt(WLElement): 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