1 # This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
4 from ..base import WLElement
7 class ListaOsoba(WLElement):
12 TXT_LEGACY_TOP_MARGIN = 1
13 TXT_LEGACY_BOTTOM_MARGIN = 0
16 EPUB_TAG = HTML_TAG = "li"
19 def html_build(self, builder):
20 builder.enter_fragment('list')
21 super(ListaOsoba, self).html_build(builder)
22 builder.exit_fragment()
24 def epub_build(self, builder):
25 builder.enter_fragment('list')
26 super(ListaOsoba, self).epub_build(builder)
27 builder.exit_fragment()