fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Experimental class-based conversion now working for TXT and HTML.
[librarian.git]
/
src
/
librarian
/
elements
/
styles
/
tytul_dziela.py
diff --git
a/src/librarian/elements/styles/tytul_dziela.py
b/src/librarian/elements/styles/tytul_dziela.py
index
b6c3662
..
ef3618c
100644
(file)
--- a/
src/librarian/elements/styles/tytul_dziela.py
+++ b/
src/librarian/elements/styles/tytul_dziela.py
@@
-3,6
+3,9
@@
from ..base import WLElement
class TytulDziela(WLElement):
+ HTML_TAG = 'em'
+ HTML_CLASS = 'book-title'
+
def normalize_text(self, text):
txt = super(TytulDziela, self).normalize_text(text)
if self.attrib.get('typ') == '1':