mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
b37e932668
commit
2a3071b8ea
@ -55,7 +55,7 @@ def read_doc_props(raw, mi):
|
|||||||
if desc:
|
if desc:
|
||||||
raw = etree.tostring(desc[0], method='text', encoding=unicode)
|
raw = etree.tostring(desc[0], method='text', encoding=unicode)
|
||||||
raw = raw.replace('_x000d_', '') # Word 2007 mangles newlines in the summary
|
raw = raw.replace('_x000d_', '') # Word 2007 mangles newlines in the summary
|
||||||
mi.comments = raw
|
mi.comments = raw.strip()
|
||||||
|
|
||||||
langs = []
|
langs = []
|
||||||
for lang in XPath('//dc:language')(root):
|
for lang in XPath('//dc:language')(root):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user