diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-01-31 12:05:46 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-01-31 12:05:46 -0800 |
commit | d1875b69ec136c19d9b2336ff57e360ff7b7bef6 (patch) | |
tree | 7ad12fb51e412c1be6950dd0fabf9b169f976aa5 /test | |
parent | 9c8ff53b54836cbe7fa9417784f3204cd041f3ac (diff) | |
download | pandoc-d1875b69ec136c19d9b2336ff57e360ff7b7bef6.tar.gz |
RST reader: fix handling of header in CSV tables.
The interpretation of this line is not affected
by the delim option. Closes #7064.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/7064.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/command/7064.md b/test/command/7064.md new file mode 100644 index 000000000..58b72e363 --- /dev/null +++ b/test/command/7064.md @@ -0,0 +1,32 @@ +``` +% pandoc -f rst -t html +.. csv-table:: Changes + :header: "Version", "Date", "Description" + :widths: 15, 15, 70 + :delim: $ + + 0.1.0 $ 18/02/2013 $ Initial Release +^D +<table> +<caption>Changes</caption> +<colgroup> +<col style="width: 15%" /> +<col style="width: 15%" /> +<col style="width: 70%" /> +</colgroup> +<thead> +<tr class="header"> +<th>Version</th> +<th>Date</th> +<th>Description</th> +</tr> +</thead> +<tbody> +<tr class="odd"> +<td>0.1.0</td> +<td>18/02/2013</td> +<td>Initial Release</td> +</tr> +</tbody> +</table> +``` |