Shortening authors and translators on cover.
[librarian.git] / src / librarian / elements / figures / tabela.py
1 from ..base import WLElement
2
3
4 class Tabela(WLElement):
5     EPUB_TAG = HTML_TAG = 'table'
6
7     def get_html_attr(self, builder):
8         if self.attrib.get('ramka', '') == '1':
9             return {
10                 'class': 'border'
11             }
12         return {}
13
14     get_epub_attr = get_html_attr
15
16