mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
f2b734a120
commit
85d357bd47
@ -149,6 +149,7 @@ class Chunker(object):
|
|||||||
root = self.remove_namespaces(self.data(item))
|
root = self.remove_namespaces(self.data(item))
|
||||||
body = root.xpath('//body')[0]
|
body = root.xpath('//body')[0]
|
||||||
body.tail = '\n'
|
body.tail = '\n'
|
||||||
|
|
||||||
if self.orig_dumps is not None:
|
if self.orig_dumps is not None:
|
||||||
self.orig_dumps.append(tostring(root, xml_declaration=True,
|
self.orig_dumps.append(tostring(root, xml_declaration=True,
|
||||||
with_tail=True))
|
with_tail=True))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user