aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-21 14:16:46 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-21 14:16:46 +0100
commitdaf8d1db18efcfbac31afd6a2323411b93ce1b62 (patch)
tree6f366dc489640c92cd2f1b50fb02d55f578cf3cc /test/command
parentd3798a044db281d2217c2d64ab1c5380d1df7a70 (diff)
downloadpandoc-daf8d1db18efcfbac31afd6a2323411b93ce1b62.tar.gz
RST writer: improve grid table output, fix bug with empty rows.
Uses the new gridTable in Writers.Shared, which is here improved to better handle 0-width cells. Closes #3516.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/3516.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/command/3516.md b/test/command/3516.md
new file mode 100644
index 000000000..d547ddbb1
--- /dev/null
+++ b/test/command/3516.md
@@ -0,0 +1,15 @@
+Correctly handle empty row:
+```
+% pandoc -f markdown -t rst
++---+---+
+| 1 | 2 |
++---+---+
+| | |
++---+---+
+^D
++---+---+
+| 1 | 2 |
++---+---+
+| | |
++---+---+
+```