X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/db91f942ce46e3af1420f3469a83257ef5aca4c2..refs/heads/master:/src/librarian/elements/comments/abstrakt.py?ds=inline diff --git a/src/librarian/elements/comments/abstrakt.py b/src/librarian/elements/comments/abstrakt.py index 887712b..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,7 +9,9 @@ class Abstrakt(WLElement): pass def html_build(self, builder): - pass + if not self.attrib.get('_force', False): + return + return super().html_build(builder) def epub_build(self, builder): pass