mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
DOCX: Fix typo whitespace => white-space
This commit is contained in:
parent
ad639ec45a
commit
fb860f7bcf
@ -410,7 +410,7 @@ class Convert(object):
|
||||
continue
|
||||
space = child.get(XML('space'), None)
|
||||
if space == 'preserve':
|
||||
text.add_elem(SPAN(child.text, style="whitespace:pre-wrap"))
|
||||
text.add_elem(SPAN(child.text, style="white-space:pre-wrap"))
|
||||
ans.append(text.elem)
|
||||
else:
|
||||
text.buf.append(child.text)
|
||||
|
Loading…
x
Reference in New Issue
Block a user