X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/db91f942ce46e3af1420f3469a83257ef5aca4c2..93d25ebdd6f8d3b7755f09ca868f70943e98dd1c:/src/librarian/elements/styles/tytul_dziela.py?ds=inline diff --git a/src/librarian/elements/styles/tytul_dziela.py b/src/librarian/elements/styles/tytul_dziela.py index 906d98c..77852d5 100644 --- a/src/librarian/elements/styles/tytul_dziela.py +++ b/src/librarian/elements/styles/tytul_dziela.py @@ -6,8 +6,8 @@ class TytulDziela(WLElement): EPUB_TAG = HTML_TAG = 'em' EPUB_CLASS = HTML_CLASS = 'book-title' - def normalize_text(self, text): - txt = super(TytulDziela, self).normalize_text(text) + def normalize_text(self, text, builder): + txt = super(TytulDziela, self).normalize_text(text, builder) if self.attrib.get('typ') == '1': txt = '„{txt}”'.format(txt=txt) return txt