Docx reader: Add test for reading sdts in footnotes.

This commit is contained in:
Jesse Rosenthal 2019-02-12 17:26:37 -05:00
parent 8552e188cd
commit 332e2ba5b6
3 changed files with 5 additions and 0 deletions

View file

@ -197,6 +197,10 @@ tests = [ testGroup "document"
"inlines inside of Structured Document Tags"
"docx/sdt_elements.docx"
"docx/sdt_elements.native"
, testCompare
"Structured Document Tags in footnotes"
"docx/sdt_in_footnote.docx"
"docx/sdt_in_footnote.native"
, testCompare
"nested Structured Document Tags"
"docx/nested_sdt.docx"

Binary file not shown.

View file

@ -0,0 +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."]]]]