aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorMilan Bracke <mbracke@antidot.net>2021-06-11 09:26:09 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2021-10-18 19:15:40 -0700
commit6acc82c5d2885c596c52e6c35bed8fe08f535066 (patch)
treead9a434851bc05154cc4680fd779aa8f9367b0e2 /test/Tests
parent193f6bfebaa43d0d6749d10a4e7ca78a0d31361d (diff)
downloadpandoc-6acc82c5d2885c596c52e6c35bed8fe08f535066.tar.gz
Docx parser: implement PAGEREF fields
These fields, often used in tables of contents, can be a hyperlink.
Diffstat (limited to 'test/Tests')
-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 af6023836..ea4094c82 100644
--- a/test/Tests/Readers/Docx.hs
+++ b/test/Tests/Readers/Docx.hs
@@ -152,6 +152,10 @@ tests = [ testGroup "document"
"docx/nested_instrText.docx"
"docx/nested_instrText.native"
, testCompare
+ "pageref hyperlinks in <w:instrText> tag"
+ "docx/pageref.docx"
+ "docx/pageref.native"
+ , testCompare
"inline image"
"docx/image.docx"
"docx/image_no_embed.native"