diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-03-03 22:48:37 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-03-03 22:48:37 +0100 |
commit | ce9d49ef0421f23fdc05fabd8d7f754d680bea47 (patch) | |
tree | a3b292f7ff810d44f3be000aa23dbc80899f6ae1 /test/command | |
parent | fb47d1d90978110e778986a80f33a1d7438a4d35 (diff) | |
download | pandoc-ce9d49ef0421f23fdc05fabd8d7f754d680bea47.tar.gz |
OpenDocument writer: fixed dropped elements in some ordered lists.
Closes #2434.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/2434.md | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/test/command/2434.md b/test/command/2434.md new file mode 100644 index 000000000..aa03e5fc3 --- /dev/null +++ b/test/command/2434.md @@ -0,0 +1,59 @@ +``` +% pandoc -t opendocument +1. a +2. b + 1. alpha + 2. beta + * gamma +^D +<text:list text:style-name="L1"> + <text:list-item> + <text:p text:style-name="P1">a</text:p> + </text:list-item> + <text:list-item> + <text:p text:style-name="P1">b</text:p> + <text:list> + <text:list-item> + <text:p text:style-name="P1">alpha</text:p> + </text:list-item> + <text:list-item> + <text:p text:style-name="P1">beta</text:p> + </text:list-item> + </text:list> + <text:list text:style-name="L2"> + <text:list-item> + <text:p text:style-name="P2">gamma</text:p> + </text:list-item> + </text:list> + </text:list-item> +</text:list> +``` + +``` +% pandoc -t opendocument +(@) text + + some text + + a) sub item 1 + b) sub item 2 + + more text -- this line is missing in the odt output +^D +<text:list text:style-name="L1"> + <text:list-item> + <text:p text:style-name="P1">text</text:p> + <text:p text:style-name="P1">some text</text:p> + <text:list> + <text:list-item> + <text:p text:style-name="P1">sub item 1</text:p> + </text:list-item> + <text:list-item> + <text:p text:style-name="P1">sub item 2</text:p> + </text:list-item> + </text:list> + <text:p text:style-name="P1">more text – this line is missing in the + odt output</text:p> + </text:list-item> +</text:list> +``` |