diff --git a/src/calibre/ebooks/docx/to_html.py b/src/calibre/ebooks/docx/to_html.py index a294c0c08d..172af69601 100644 --- a/src/calibre/ebooks/docx/to_html.py +++ b/src/calibre/ebooks/docx/to_html.py @@ -440,6 +440,8 @@ class Convert(object): l.set('class', 'noteref') text.add_elem(l) ans.append(text.elem) + elif is_tag(child, 'w:fldChar') and get(child, 'w:fldCharType') == 'separate': + text.buf.append('\xa0') if text.buf: setattr(text.elem, text.attr, ''.join(text.buf))