diff options
| author | John MacFarlane <[email protected]> | 2025-03-05 21:41:06 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-03-05 21:41:30 -0800 |
| commit | 45fdd1de100bc085bb187a38db40e43a85b72e8a (patch) | |
| tree | a90ed0295abc0ff1a140af6e3106fa33123d0c69 | |
| parent | e73b9ee1d80b0732d2e422b3ab30260b646e47a2 (diff) | |
Fix invalid OOXML in definition_list.docx test.
Closes #10394.
| -rw-r--r-- | test/docx/definition_list.docx | bin | 8455 -> 9174 bytes | |||
| -rw-r--r-- | test/docx/definition_list.native | 40 | ||||
| -rw-r--r-- | test/docx/golden/definition_list.docx | bin | 10507 -> 10498 bytes |
3 files changed, 33 insertions, 7 deletions
diff --git a/test/docx/definition_list.docx b/test/docx/definition_list.docx Binary files differindex a19edda45..98705badd 100644 --- a/test/docx/definition_list.docx +++ b/test/docx/definition_list.docx diff --git a/test/docx/definition_list.native b/test/docx/definition_list.native index 2e08ff1ac..bb122120d 100644 --- a/test/docx/definition_list.native +++ b/test/docx/definition_list.native @@ -1,7 +1,33 @@ -[DefinitionList - [([Str "Term",Space,Str "1"], - [[Para [Str "Definition",Space,Str "1"]]]) - ,([Str "Term",Space,Str "2",Space,Str "with",Space,Emph [Str "inline",Space,Str "markup"]], - [[Para [Str "Definition",Space,Str "2"] - ,CodeBlock ("",[],[]) "{ some code, part of Definition 2 }" - ,Para [Str "Third",Space,Str "paragraph",Space,Str "of",Space,Str "definition",Space,Str "2."]]])]] +[ DefinitionList + [ ( [ Str "Term" , Space , Str "1" ] + , [ [ Para [ Str "Definition" , Space , Str "1" ] ] ] + ) + , ( [ Str "Term" + , Space + , Str "2" + , Space + , Str "with" + , Space + , Emph [ Str "inline" , Space , Str "markup" ] + ] + , [ [ Para [ Str "Definition" , Space , Str "2" ] + , Para + [ Code + ( "" , [] , [] ) "{ some code, part of Definition 2 }" + ] + , Para + [ Str "Third" + , Space + , Str "paragraph" + , Space + , Str "of" + , Space + , Str "definition" + , Space + , Str "2." + ] + ] + ] + ) + ] +] diff --git a/test/docx/golden/definition_list.docx b/test/docx/golden/definition_list.docx Binary files differindex ed52ddde7..cf152c5f2 100644 --- a/test/docx/golden/definition_list.docx +++ b/test/docx/golden/definition_list.docx |
