X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/0604bdd5f693da9f1c78f9d9fa2276f0c7b6c17b..23d025c8875cca1404f274aca7170c9db5e980e7:/src/librarian/elements/blocks/dlugi_cytat.py diff --git a/src/librarian/elements/blocks/dlugi_cytat.py b/src/librarian/elements/blocks/dlugi_cytat.py index 8137867..cf1515f 100644 --- a/src/librarian/elements/blocks/dlugi_cytat.py +++ b/src/librarian/elements/blocks/dlugi_cytat.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 @@ -5,6 +8,11 @@ class DlugiCytat(WLElement): CAN_HAVE_TEXT = False TXT_TOP_MARGIN = 3 - TXT_BOTTOM_MARGIN = 2 - TXT_LEGACY_TOP_MARGIN = 1 - TXT_LEGACY_BOTTOM_MARGIN = 0 + TXT_BOTTOM_MARGIN = 3 + + HTML_TAG = 'blockquote' + + EPUB_TAG = 'div' + EPUB_CLASS = 'block' + + FB2_TAG = 'cite'