bit longer author field
[librarian.git] / src / librarian / elements / __init__.py
index c715e3a..b08c3e1 100644 (file)
@@ -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,
 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 = {
 
 
 WL_ELEMENTS = {
+    'snippet': base.Snippet,
     'meta': etree.ElementBase,
     'coverClass': etree.ElementBase,
     "developmentStage": etree.ElementBase,
     'meta': etree.ElementBase,
     'coverClass': etree.ElementBase,
     "developmentStage": etree.ElementBase,
@@ -85,7 +89,7 @@ WL_ELEMENTS = {
     "nota": blocks.Nota,
 
     "nota_red": comments.NotaRed,
     "nota": blocks.Nota,
 
     "nota_red": comments.NotaRed,
-    "extra": comments.Abstrakt,
+    "extra": comments.Uwaga,
     "abstrakt": comments.Abstrakt,
 
     "naglowek_czesc": headers.NaglowekCzesc,
     "abstrakt": comments.Abstrakt,
 
     "naglowek_czesc": headers.NaglowekCzesc,