fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b6c36622b9ee83900b05cd74f97d73686c222a4e
[librarian.git]
/
src
/
librarian
/
elements
/
styles
/
tytul_dziela.py
1
# -*- coding: utf-8
2
from ..base import WLElement
3
4
5
class TytulDziela(WLElement):
6
def normalize_text(self, text):
7
txt = super(TytulDziela, self).normalize_text(text)
8
if self.attrib.get('typ') == '1':
9
txt = '„{txt}”'.format(txt=txt)
10
return txt