aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2018-02-28 16:27:18 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2018-02-28 16:32:20 -0500
commit7d3e7a5a6d9e7b139fd15e10a52b85f87aba42b1 (patch)
tree3c9ea9021a3dd72867820cf21653d73bcc031544 /test/Tests
parentcc3477192809030044dc0729c42fcf4cf96bb5a9 (diff)
downloadpandoc-7d3e7a5a6d9e7b139fd15e10a52b85f87aba42b1.tar.gz
Docx reader: Handle nested sdt tags.
Previously we had only unwrapped one level of sdt tags. Now we recurse if we find them. Closes: #4415
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 cef80d6d1..0ba765c93 100644
--- a/test/Tests/Readers/Docx.hs
+++ b/test/Tests/Readers/Docx.hs
@@ -179,6 +179,10 @@ tests = [ testGroup "inlines"
"docx/sdt_elements.docx"
"docx/sdt_elements.native"
, testCompare
+ "nested Structured Document Tags"
+ "docx/nested_sdt.docx"
+ "docx/nested_sdt.native"
+ , testCompare
"remove anchor spans with nothing pointing to them"
"docx/unused_anchors.docx"
"docx/unused_anchors.native"