aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-03-30 14:56:36 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-03-30 14:56:36 -0700
commitb9602766d8a3d6c8ed31c67f49cefa8bd1a6871a (patch)
tree02b87231f008e032ed588795453650ffa3cc1782 /test/command
parentd0dc0c353e9e11f1240d8e33c68151b500d62fe2 (diff)
downloadpandoc-b9602766d8a3d6c8ed31c67f49cefa8bd1a6871a.tar.gz
Textile reader: fixed tables with no body rows.
Previously these raised an exception. Closes #4513.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/4513.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/command/4513.md b/test/command/4513.md
new file mode 100644
index 000000000..e4a4406e4
--- /dev/null
+++ b/test/command/4513.md
@@ -0,0 +1,9 @@
+```
+% pandoc -f textile -t native
+|_. heading 1 |_. heading 2|
+^D
+[Table [] [AlignDefault,AlignDefault] [0.0,0.0]
+ [[Plain [Str "heading",Space,Str "1"]]
+ ,[Plain [Str "heading",Space,Str "2"]]]
+ []]
+```