From 2485c594d8444e8fca40ec9a12e052e052f9b1c4 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 17 Sep 2025 15:45:42 +0200 Subject: Docx reader: change default for textwidth. This should only be used if sectPr is not found. --- src/Text/Pandoc/Readers/Docx/Parse.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Readers/Docx/Parse.hs b/src/Text/Pandoc/Readers/Docx/Parse.hs index 08c380bc1..5d54d70a8 100644 --- a/src/Text/Pandoc/Readers/Docx/Parse.hs +++ b/src/Text/Pandoc/Readers/Docx/Parse.hs @@ -415,7 +415,7 @@ archiveToDocxWithWarnings archive = do , envParStyles = parstyles , envLocation = InDocument , envDocXmlPath = docXmlPath - , envTextWidth = fromMaybe 9638 textWidth + , envTextWidth = fromMaybe 9360 textWidth } rState = ReaderState { stateWarnings = [] , stateFldCharState = [] -- cgit v1.2.3