Docx writer: Use w:br with w:type 'textWrapping' for linebreaks.

Previously we used w:cr.

I don't see a difference between these in my version of Word,
but apparently some do.  Closes #873.
This commit is contained in:
John MacFarlane 2013-07-04 16:37:44 -07:00
parent aab4c47da5
commit e7b5f2deb5

View file

@ -769,7 +769,7 @@ inlineToOpenXML opts (Image alt (src, tit)) = do
return [imgElt]
br :: Element
br = mknode "w:r" [] [mknode "w:cr" [] () ]
br = mknode "w:r" [] [mknode "w:br" [("w:type","textWrapping")] () ]
parseXml :: Archive -> String -> IO Element
parseXml refArchive relpath =