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:
parent
aab4c47da5
commit
e7b5f2deb5
1 changed files with 1 additions and 1 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue