diff --git a/src/Text/Pandoc/Writers/Docx.hs b/src/Text/Pandoc/Writers/Docx.hs index a0729106c..8d8164301 100644 --- a/src/Text/Pandoc/Writers/Docx.hs +++ b/src/Text/Pandoc/Writers/Docx.hs @@ -98,6 +98,7 @@ writeDocx opts doc = do let env = defaultWriterEnv { envRTL = isRTLmeta + , envLang = getLang opts meta , envChangesAuthor = fromMaybe "unknown" username , envChangesDate = T.pack $ formatTime defaultTimeLocale "%FT%XZ" utctime , envPrintWidth = maybe 420 (`quot` 20) pgContentWidth diff --git a/test/docx/golden/document-properties.docx b/test/docx/golden/document-properties.docx index 537a6e5c0..896ab47f9 100644 Binary files a/test/docx/golden/document-properties.docx and b/test/docx/golden/document-properties.docx differ