fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New EPUB builder, other minor changes.
[librarian.git]
/
src
/
librarian
/
builders
/
sanitize.py
diff --git
a/src/librarian/builders/sanitize.py
b/src/librarian/builders/sanitize.py
index
4d7f7f9
..
9897482
100644
(file)
--- a/
src/librarian/builders/sanitize.py
+++ b/
src/librarian/builders/sanitize.py
@@
-6,7
+6,7
@@
class Sanitizer:
identifier = 'sanitize'
file_extension = 'xml2'
identifier = 'sanitize'
file_extension = 'xml2'
- def build(self, document):
+ def build(self, document
, **kwargs
):
doc = document.tree.getroot() # TODO: copy
doc.sanitize()
return OutputFile.from_bytes(
doc = document.tree.getroot() # TODO: copy
doc.sanitize()
return OutputFile.from_bytes(