git.iko.soy/typeable/pandoc
on master help sign in
Docx reader: Add test for reading sdts in footnotes.
commit332e2ba5b6ec2be880f082bb0fd746108b45799d authorJesse Rosenthal <jrosenthal@jhu.edu> dateTue 12 Feb 2019, 17:26 (8 years ago) parent8552e18
3 files changed+5
test/Tests/Readers/Docx.hs+4 test/docx/sdt_in_footnote.docx test/docx/sdt_in_footnote.native+1
test/Tests/Readers/Docx.hs+4
@@ -197,6 +197,10 @@ tests = [ testGroup "document"
197197 "inlines inside of Structured Document Tags"
198198 "docx/sdt_elements.docx"
199199 "docx/sdt_elements.native"
200+ , testCompare
201+ "Structured Document Tags in footnotes"
202+ "docx/sdt_in_footnote.docx"
203+ "docx/sdt_in_footnote.native"
200204 , testCompare
201205 "nested Structured Document Tags"
202206 "docx/nested_sdt.docx"
test/docx/sdt_in_footnote.docxnew file

Binary file not shown.

test/docx/sdt_in_footnote.nativenew file+1
@@ -0,0 +1 @@
1+[Para [Str "Lorem",Space,Str "ipsum",Space,Str "dolor",Space,Str "sit",Space,Str "amet.",Note [Para [Str "Vgl.",Space,Emph [Str "Bitzios"],Space,Str "u.",Space,Str "a.:",Space,Str "Dissonance",Space,Str "in",Space,Str "the",Space,Str "food",Space,Str "traceability",Space,Str "regulatory",Space,Str "environment",Space,Str "and",Space,Str "food",Space,Str "fraud,",Space,Str "in:",Space,Str "Dries",Space,Str "u.",Space,Str "a.",Space,Str "(Hrsg.):",Space,Str "It\8217s",Space,Str "a",Space,Str "jungle",Space,Str "out",Space,Str "there",Space,Str "-",Space,Str "the",Space,Str "strange",Space,Str "animals",Space,Str "of",Space,Str "economic",Space,Str "organization",Space,Str "in",Space,Str "agri-food",Space,Str "value",Space,Str "chains,",Space,Str "Wageningen",Space,Str "im",Space,Str "Druck,",Space,Str "hier",Space,Str "S.\160\&100-105."]]]]