From 004f60bf265f7e76ca59ea49ae1070e8d09d1ce7 Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Tue, 16 Jan 2018 13:20:01 -0500 Subject: 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. --- test/Tests/Readers/Docx.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/Tests') 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 @@ -127,6 +127,10 @@ tests = [ testGroup "inlines" "hyperlinks" "docx/links.docx" "docx/links.native" + , testCompare + "hyperlinks in tag" + "docx/instrText_hyperlink.docx" + "docx/instrText_hyperlink.native" , testCompare "inline image" "docx/image.docx" -- cgit v1.2.3