DOCX Input: Simplify generated markup

DOCX Input: Simplify generated markup by avoiding the use of unnecessary
<span> tags for whitespace preservation.