Docx reader: add tests for structured document tags unwrapping.
This commit is contained in:
parent
dc3ee500a0
commit
d71165c8e2
3 changed files with 14 additions and 0 deletions
|
@ -171,6 +171,10 @@ tests = [ testGroup "inlines"
|
|||
"inline code in subscript and superscript"
|
||||
"docx/verbatim_subsuper.docx"
|
||||
"docx/verbatim_subsuper.native"
|
||||
, testCompare
|
||||
"inlines inside of Structured Document Tags"
|
||||
"docx/sdt_elements.docx"
|
||||
"docx/sdt_elements.native"
|
||||
]
|
||||
, testGroup "blocks"
|
||||
[ testCompare
|
||||
|
|
BIN
test/docx/sdt_elements.docx
Normal file
BIN
test/docx/sdt_elements.docx
Normal file
Binary file not shown.
10
test/docx/sdt_elements.native
Normal file
10
test/docx/sdt_elements.native
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Table [] [AlignDefault,AlignDefault,AlignDefault] [0.0,0.0,0.0]
|
||||
[[]
|
||||
,[]
|
||||
,[]]
|
||||
[[[Plain [Strong [Str "col1Header"]]]
|
||||
,[Plain [Strong [Str "col2Header"]]]
|
||||
,[Plain [Strong [Str "col3Header"]]]]
|
||||
,[[Plain [Str "col1",Space,Str "content"]]
|
||||
,[Plain [Str "Body",Space,Str "copy"]]
|
||||
,[Plain [Str "col3",Space,Str "content"]]]]]
|
Loading…
Reference in a new issue