2 from ..base import WLElement
5 class TytulDziela(WLElement):
6 EPUB_TAG = HTML_TAG = 'em'
7 EPUB_CLASS = HTML_CLASS = 'book-title'
9 def normalize_text(self, text):
10 txt = super(TytulDziela, self).normalize_text(text)
11 if self.attrib.get('typ') == '1':
12 txt = '„{txt}”'.format(txt=txt)