aboutsummaryrefslogtreecommitdiff
path: root/test/tables.rst
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/tables.rst
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/tables.rst')
-rw-r--r--test/tables.rst60
1 files changed, 30 insertions, 30 deletions
diff --git a/test/tables.rst b/test/tables.rst
index 184d9894a..eaef50d28 100644
--- a/test/tables.rst
+++ b/test/tables.rst
@@ -42,31 +42,31 @@ Multiline table with caption:
.. table:: Here’s the caption. It may span multiple lines.
- +-------------+------------+--------------+----------------------------+
- | Centered | Left | Right | Default aligned |
- | Header | Aligned | Aligned | |
- +=============+============+==============+============================+
- | First | row | 12.0 | Example of a row that |
- | | | | spans multiple lines. |
- +-------------+------------+--------------+----------------------------+
- | Second | row | 5.0 | Here’s another one. Note |
- | | | | the blank line between |
- | | | | rows. |
- +-------------+------------+--------------+----------------------------+
+ +----------+---------+-----------+-------------------------+
+ | Centered | Left | Right | Default aligned |
+ | Header | Aligned | Aligned | |
+ +==========+=========+===========+=========================+
+ | First | row | 12.0 | Example of a row that |
+ | | | | spans multiple lines. |
+ +----------+---------+-----------+-------------------------+
+ | Second | row | 5.0 | Here’s another one. |
+ | | | | Note the blank line |
+ | | | | between rows. |
+ +----------+---------+-----------+-------------------------+
Multiline table without caption:
-+-------------+------------+--------------+----------------------------+
-| Centered | Left | Right | Default aligned |
-| Header | Aligned | Aligned | |
-+=============+============+==============+============================+
-| First | row | 12.0 | Example of a row that |
-| | | | spans multiple lines. |
-+-------------+------------+--------------+----------------------------+
-| Second | row | 5.0 | Here’s another one. Note |
-| | | | the blank line between |
-| | | | rows. |
-+-------------+------------+--------------+----------------------------+
++----------+---------+-----------+-------------------------+
+| Centered | Left | Right | Default aligned |
+| Header | Aligned | Aligned | |
++==========+=========+===========+=========================+
+| First | row | 12.0 | Example of a row that |
+| | | | spans multiple lines. |
++----------+---------+-----------+-------------------------+
+| Second | row | 5.0 | Here’s another one. |
+| | | | Note the blank line |
+| | | | between rows. |
++----------+---------+-----------+-------------------------+
Table without column headers:
@@ -80,11 +80,11 @@ Table without column headers:
Multiline table without column headers:
-+-------------+------------+--------------+----------------------------+
-| First | row | 12.0 | Example of a row that |
-| | | | spans multiple lines. |
-+-------------+------------+--------------+----------------------------+
-| Second | row | 5.0 | Here’s another one. Note |
-| | | | the blank line between |
-| | | | rows. |
-+-------------+------------+--------------+----------------------------+
++----------+---------+-----------+-------------------------+
+| First | row | 12.0 | Example of a row that |
+| | | | spans multiple lines. |
++----------+---------+-----------+-------------------------+
+| Second | row | 5.0 | Here’s another one. |
+| | | | Note the blank line |
+| | | | between rows. |
++----------+---------+-----------+-------------------------+