Add support for predesigned covers to Marquise. Remove support for changing cover...
[librarian.git] / src / librarian / elements / figures / tabela.py
1 from ..base import WLElement
2
3
4 class Tabela(WLElement):
5     SHOULD_HAVE_ID = True
6
7     EPUB_TAG = HTML_TAG = 'table'
8
9     def get_html_attr(self, builder):
10         if self.attrib.get('ramka', '') == '1':
11             return {
12                 'class': 'border'
13             }
14         return {}
15
16     get_epub_attr = get_html_attr
17
18