diff --git a/src/Text/Pandoc/Writers/Docx.hs b/src/Text/Pandoc/Writers/Docx.hs index 264926f292b5..b8f8cf58a27b 100644 --- a/src/Text/Pandoc/Writers/Docx.hs +++ b/src/Text/Pandoc/Writers/Docx.hs @@ -885,8 +885,8 @@ writeOpenXML opts (Pandoc meta blocks) = do , mknode "w:r" [] [ mknode "w:rPr" [] [ mknode "w:rStyle" [("w:val", "CommentReference")] () - , mknode "w:annotationRef" [] () ] + , mknode "w:annotationRef" [] () ] ] ++ annotation ] diff --git a/test/docx/golden/comments.docx b/test/docx/golden/comments.docx index 202cbe2e40dd..341a5dba0464 100644 Binary files a/test/docx/golden/comments.docx and b/test/docx/golden/comments.docx differ diff --git a/test/docx/golden/track_changes_scrubbed_metadata.docx b/test/docx/golden/track_changes_scrubbed_metadata.docx index 19b3edfefbed..68eda70b7e97 100644 Binary files a/test/docx/golden/track_changes_scrubbed_metadata.docx and b/test/docx/golden/track_changes_scrubbed_metadata.docx differ