fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix #3663: changed and updated sort keys
[librarian.git]
/
librarian
/
epub.py
diff --git
a/librarian/epub.py
b/librarian/epub.py
index
bf58a9f
..
bf2d4d9
100644
(file)
--- a/
librarian/epub.py
+++ b/
librarian/epub.py
@@
-501,6
+501,9
@@
def transform(wldoc, verbose=False,
for flag in flags:
document.edoc.getroot().set(flag, 'yes')
for flag in flags:
document.edoc.getroot().set(flag, 'yes')
+ document.clean_ed_note()
+ document.clean_ed_note('abstrakt')
+
# add editors info
editors = document.editors()
if editors:
# add editors info
editors = document.editors()
if editors:
@@
-643,7
+646,7
@@
def transform(wldoc, verbose=False,
'"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'
))
'"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'
))
- if not flags or
not 'without-fonts'
in flags:
+ if not flags or
'without-fonts' not
in flags:
# strip fonts
tmpdir = mkdtemp('-librarian-epub')
try:
# strip fonts
tmpdir = mkdtemp('-librarian-epub')
try: