diff options
author | Diego Balseiro <dbalseiro@stackbuilders.com> | 2020-10-06 23:03:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-06 21:03:00 -0700 |
commit | eda5540719e9771b48f15aa7f431033163e1f161 (patch) | |
tree | 261e3854c0c901ca6039cb8e3e2a27d6e4da4787 /test/Tests/Writers | |
parent | a27a0b5419d8abdb374fac7cddc6f9ce128c0f96 (diff) | |
download | pandoc-eda5540719e9771b48f15aa7f431033163e1f161.tar.gz |
DOCX reader: Allow empty dates in comments and tracked changes (#6726)
For security reasons, some legal firms delete the date from comments and
tracked changes.
* Make date optional (Maybe) in tracked changes and comments datatypes
* Add tests
Diffstat (limited to 'test/Tests/Writers')
-rw-r--r-- | test/Tests/Writers/Docx.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Tests/Writers/Docx.hs b/test/Tests/Writers/Docx.hs index ccd31642a..8f051b4b7 100644 --- a/test/Tests/Writers/Docx.hs +++ b/test/Tests/Writers/Docx.hs @@ -150,6 +150,11 @@ tests = [ testGroup "inlines" def "docx/comments.native" "docx/golden/comments.docx" + , docxTest + "scrubbed metadata" + def + "docx/track_changes_scrubbed_metadata.native" + "docx/golden/track_changes_scrubbed_metadata.docx" ] , testGroup "custom styles" [ docxTest "custom styles without reference.docx" |