From fcbb37c8f3b28ae0889041030f37e7c730751bcd Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Mon, 29 Aug 2016 08:35:59 -0400 Subject: Docx reader: test for nested anchor spans in header This ensures that anchor spans in header with content (or with other anchor spans inside) will resolve to links to a header id properly. --- tests/Tests/Readers/Docx.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/Tests/Readers') diff --git a/tests/Tests/Readers/Docx.hs b/tests/Tests/Readers/Docx.hs index a9a9094f1..8ae0532e4 100644 --- a/tests/Tests/Readers/Docx.hs +++ b/tests/Tests/Readers/Docx.hs @@ -181,6 +181,10 @@ tests = [ testGroup "inlines" "headers already having auto identifiers" "docx/already_auto_ident.docx" "docx/already_auto_ident.native" + , testCompare + "nested anchor spans in header" + "docx/nested_anchors_in_header.docx" + "docx/nested_anchors_in_header.native" , testCompare "single numbered item not made into list" "docx/numbered_header.docx" -- cgit v1.2.3