c5770ee959b5a2ae9458c886a659143a117151fb
[librarian.git] / src / librarian / elements / drama / lista_osoba.py
1 from ..base import WLElement
2
3
4 class ListaOsoba(WLElement):
5     TXT_TOP_MARGIN = 1
6     TXT_BOTTOM_MARGIN = 1
7     TXT_LEGACY_TOP_MARGIN = 1
8     TXT_LEGACY_BOTTOM_MARGIN = 0
9     TXT_PREFIX = " * "
10
11     EPUB_TAG = HTML_TAG = "li"
12
13     def html_build(self, builder):
14         builder.enter_fragment('list')
15         super(ListaOsoba, self).html_build(builder)
16         builder.exit_fragment()
17         
18     def epub_build(self, builder):
19         builder.enter_fragment('list')
20         super(ListaOsoba, self).epub_build(builder)
21         builder.exit_fragment()