X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/0ad20be3eadf8dbba51d95c9ca3bfc97825d44c6..3a0c83394d5783715fab2be29fa1a9cfc3574e28:/src/librarian/elements/__init__.py diff --git a/src/librarian/elements/__init__.py b/src/librarian/elements/__init__.py index c715e3a..b08c3e1 100644 --- a/src/librarian/elements/__init__.py +++ b/src/librarian/elements/__init__.py @@ -1,10 +1,14 @@ +# This file is part of Librarian, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. +# from lxml import etree from . import (blocks, comments, drama, figures, footnotes, front, headers, masters, paragraphs, poetry, ref, root, separators, styles, themes, - tools) + tools, base) WL_ELEMENTS = { + 'snippet': base.Snippet, 'meta': etree.ElementBase, 'coverClass': etree.ElementBase, "developmentStage": etree.ElementBase, @@ -85,7 +89,7 @@ WL_ELEMENTS = { "nota": blocks.Nota, "nota_red": comments.NotaRed, - "extra": comments.Abstrakt, + "extra": comments.Uwaga, "abstrakt": comments.Abstrakt, "naglowek_czesc": headers.NaglowekCzesc,