diff --git a/docx2txt/docx2txt.py b/docx2txt/docx2txt.py index 0dac072..1cfbeb6 100755 --- a/docx2txt/docx2txt.py +++ b/docx2txt/docx2txt.py @@ -66,6 +66,8 @@ def xml2text(xml): text += '\n' elif child.tag == qn("w:p"): text += '\n\n' + elif child.tag == qn("w:noBreakHyphen"): + text += '-' return text