aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-04-22 12:18:45 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-04-22 12:20:25 -0700
commitdab3330a585a55721821a8526a56510011a1145e (patch)
tree13a7f59d0e81c7b14ad4edbdce11f8054a755358 /test/command
parenta9a1a5fab3651779e48ae764ac6c53265e791e3d (diff)
downloadpandoc-dab3330a585a55721821a8526a56510011a1145e.tar.gz
RST reader: allow < 3 spaces indent under directives.
Closes #4579.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/4579.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/command/4579.md b/test/command/4579.md
new file mode 100644
index 000000000..80f0f58c2
--- /dev/null
+++ b/test/command/4579.md
@@ -0,0 +1,16 @@
+```
+% pandoc -f rst -t native
+.. list-table::
+ :header-rows: 1
+
+ * - Foo
+ - Bar
+ * - spam
+ - ham
+^D
+[Table [] [AlignDefault,AlignDefault] [0.0,0.0]
+ [[Plain [Str "Foo"]]
+ ,[Plain [Str "Bar"]]]
+ [[[Plain [Str "spam"]]
+ ,[Plain [Str "ham"]]]]]
+```