aboutsummaryrefslogtreecommitdiff
path: root/test/tables.asciidoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-04-21 13:06:57 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-04-21 13:06:57 -0700
commit7fbe473b2e3b3b2b94be810b6385475c056a304a (patch)
tree324f44cf3d2f281f38d243f89836e33f8d3197eb /test/tables.asciidoc
parent229db80ac23ab0b5dba396d7748fcba0d05c4785 (diff)
downloadpandoc-7fbe473b2e3b3b2b94be810b6385475c056a304a.tar.gz
Markdown reader/writer: spacing adjustments in tables.
* Markdown writer now includes a blank line at the end of the row in a single-row multiline table, to prevent it from being interpreted as a simple table. Closes #4578. * Markdown reader does a better job computing the relative width of the last column in a multiline table, so we can round-trip tables without constantly shrinking the last column.
Diffstat (limited to 'test/tables.asciidoc')
-rw-r--r--test/tables.asciidoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tables.asciidoc b/test/tables.asciidoc
index 91490a27a..75632157e 100644
--- a/test/tables.asciidoc
+++ b/test/tables.asciidoc
@@ -33,7 +33,7 @@ Simple table indented two spaces:
Multiline table with caption:
.Here’s the caption. It may span multiple lines.
-[width="78%",cols="^21%,<17%,>20%,<42%",options="header",]
+[width="80%",cols="^20%,<17%,>20%,<43%",options="header",]
|=======================================================================
|Centered Header |Left Aligned |Right Aligned |Default aligned
|First |row |12.0 |Example of a row that spans multiple lines.
@@ -42,7 +42,7 @@ Multiline table with caption:
Multiline table without caption:
-[width="78%",cols="^21%,<17%,>20%,<42%",options="header",]
+[width="80%",cols="^20%,<17%,>20%,<43%",options="header",]
|=======================================================================
|Centered Header |Left Aligned |Right Aligned |Default aligned
|First |row |12.0 |Example of a row that spans multiple lines.
@@ -60,7 +60,7 @@ Table without column headers:
Multiline table without column headers:
-[width="78%",cols="^21%,<17%,>20%,42%",]
+[width="80%",cols="^20%,<17%,>20%,43%",]
|=======================================================================
|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.