aboutsummaryrefslogtreecommitdiff
path: root/tests/rst-reader.rst
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-02-27 20:39:21 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-02-27 20:39:21 +0000
commit76ab88807e2a6e2161343f8b0a3d01a8a22e9d99 (patch)
treefac3c53d0498f9820bf7012239be61bb3a7719f6 /tests/rst-reader.rst
parentddcde4d543f865fa95d2a6bb4ca2dfdfc4435c13 (diff)
downloadpandoc-76ab88807e2a6e2161343f8b0a3d01a8a22e9d99.tar.gz
RST reader: Improved grid tables.
+ Table cells can now contain multiple block elements, such as lists or paragraphs. + Table parser is now forgiving of spaces at ends of lines. + Added test cases. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1852 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/rst-reader.rst')
-rw-r--r--tests/rst-reader.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/rst-reader.rst b/tests/rst-reader.rst
index ccc248aee..8c4b7d726 100644
--- a/tests/rst-reader.rst
+++ b/tests/rst-reader.rst
@@ -491,3 +491,20 @@ Headless
+------------------+-----------+------------+
| r2 d | e | f |
+------------------+-----------+------------+
+
+Spaces at ends of lines
+
++------------------+-----------+------------+
+| r1 a | b | c |
+| r1 bis | b 2 | c 2 |
++------------------+-----------+------------+
+| r2 d | e | f |
++------------------+-----------+------------+
+
+Multiple blocks in a cell
+
++------------------+-----------+------------+
+| r1 a | - b | c |
+| | - b 2 | c 2 |
+| r1 bis | - b 2 | c 2 |
++------------------+-----------+------------+