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):
10 TXT_LEGACY_TOP_MARGIN = 1
11 TXT_LEGACY_BOTTOM_MARGIN = 0
14 EPUB_TAG = HTML_TAG = "li"
16 def html_build(self, builder):
17 builder.enter_fragment('list')
18 super(ListaOsoba, self).html_build(builder)
19 builder.exit_fragment()
21 def epub_build(self, builder):
22 builder.enter_fragment('list')
23 super(ListaOsoba, self).epub_build(builder)
24 builder.exit_fragment()