diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-07-21 10:20:15 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-07-21 10:20:15 -0700 |
commit | 942e3ee1f9ce3593b3ce3cc32c7ed7039aee205a (patch) | |
tree | 76227c0963b136a44849d28cb36e91a2008d8ab5 /test/command | |
parent | fe315a8290a9d192ef6fe707553f3baaafb3d035 (diff) | |
download | pandoc-942e3ee1f9ce3593b3ce3cc32c7ed7039aee205a.tar.gz |
RST reader: fix csv tables with multiline cells.
Closes #6549.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/01.csv | 4 | ||||
-rw-r--r-- | test/command/6549.md | 26 |
2 files changed, 30 insertions, 0 deletions
diff --git a/test/command/01.csv b/test/command/01.csv new file mode 100644 index 000000000..76a84398d --- /dev/null +++ b/test/command/01.csv @@ -0,0 +1,4 @@ +"Column1";"Column2" +"Data1";"- data1 + +- data2" diff --git a/test/command/6549.md b/test/command/6549.md new file mode 100644 index 000000000..e41f4b76a --- /dev/null +++ b/test/command/6549.md @@ -0,0 +1,26 @@ +``` +% pandoc -f rst +.. csv-table:: Test table + :file: command/01.csv + :delim: ; + :header-rows: 1 +^D +<table> +<caption>Test table</caption> +<thead> +<tr class="header"> +<th>Column1</th> +<th>Column2</th> +</tr> +</thead> +<tbody> +<tr class="odd"> +<td>Data1</td> +<td><ul> +<li>data1</li> +<li>data2</li> +</ul></td> +</tr> +</tbody> +</table> +``` |