X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/d26d6a7fdcb2c6e26fd097532765b62fd17b429c..2991698067a246ea9b99b4e668d261af6d418eca:/src/librarian/elements/figures/tabela.py?ds=inline diff --git a/src/librarian/elements/figures/tabela.py b/src/librarian/elements/figures/tabela.py index af4a436..ba02b20 100644 --- a/src/librarian/elements/figures/tabela.py +++ b/src/librarian/elements/figures/tabela.py @@ -2,7 +2,9 @@ from ..base import WLElement class Tabela(WLElement): - HTML_TAG = 'table' + SHOULD_HAVE_ID = True + + EPUB_TAG = HTML_TAG = 'table' def get_html_attr(self, builder): if self.attrib.get('ramka', '') == '1': @@ -10,3 +12,7 @@ class Tabela(WLElement): 'class': 'border' } return {} + + get_epub_attr = get_html_attr + +