fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added support for <abstrakt>
[librarian.git]
/
librarian
/
fb2.py
diff --git
a/librarian/fb2.py
b/librarian/fb2.py
index
d979566
..
a1cece4
100644
(file)
--- a/
librarian/fb2.py
+++ b/
librarian/fb2.py
@@
-50,6
+50,9
@@
def transform(wldoc, verbose=False,
for flag in flags:
document.edoc.getroot().set(flag, 'yes')
+ document.clean_ed_note()
+ document.clean_ed_note('abstrakt')
+
style_filename = os.path.join(os.path.dirname(__file__), 'fb2/fb2.xslt')
style = etree.parse(style_filename)