aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers/Docx.hs
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2018-01-16 13:20:01 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2018-01-16 13:22:02 -0500
commit004f60bf265f7e76ca59ea49ae1070e8d09d1ce7 (patch)
tree5be1f006b327cd6ad5c4685e63c4e9606dd028e0 /test/Tests/Readers/Docx.hs
parent95d602d3b7df8946f236aaad310bedf8fdc2e09f (diff)
downloadpandoc-004f60bf265f7e76ca59ea49ae1070e8d09d1ce7.tar.gz
Docx reader: Add test for hyperlinks in instrText tag
This is difficult to recreate with a modern version of Word, so I'm using the file submitted with the bug report. It would be preferable to find a smaller example with Latin characters, though, so as not to confuse the issue being tested.
Diffstat (limited to 'test/Tests/Readers/Docx.hs')
-rw-r--r--test/Tests/Readers/Docx.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Tests/Readers/Docx.hs b/test/Tests/Readers/Docx.hs
index 68c2e3476..d58e219de 100644
--- a/test/Tests/Readers/Docx.hs
+++ b/test/Tests/Readers/Docx.hs
@@ -128,6 +128,10 @@ tests = [ testGroup "inlines"
"docx/links.docx"
"docx/links.native"
, testCompare
+ "hyperlinks in <w:instrText> tag"
+ "docx/instrText_hyperlink.docx"
+ "docx/instrText_hyperlink.native"
+ , testCompare
"inline image"
"docx/image.docx"
"docx/image_no_embed.native"