Skip to content

Commit

Permalink
Fix localization of "Abstract" title in docx writer.
Browse files Browse the repository at this point in the history
See #8702, which was only partially implemented before.
  • Loading branch information
jgm committed Jun 7, 2023
1 parent c982576 commit d04838b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Text/Pandoc/Writers/Docx.hs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ writeDocx :: (PandocMonad m)
-> m BL.ByteString
writeDocx opts doc = do
let Pandoc meta blocks = walk fixDisplayMath doc
setupTranslations meta
let blocks' = makeSections True Nothing blocks
let doc' = Pandoc meta blocks'

Expand Down

0 comments on commit d04838b

Please sign in to comment.