aboutsummaryrefslogtreecommitdiff
path: root/test/tables.html5
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.html5
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.html5')
-rw-r--r--test/tables.html512
1 files changed, 6 insertions, 6 deletions
diff --git a/test/tables.html5 b/test/tables.html5
index 17a82110f..533d2fd25 100644
--- a/test/tables.html5
+++ b/test/tables.html5
@@ -94,13 +94,13 @@
</tbody>
</table>
<p>Multiline table with caption:</p>
-<table style="width:79%;">
+<table style="width:80%;">
<caption>Here’s the caption. It may span multiple lines.</caption>
<colgroup>
<col style="width: 15%" />
<col style="width: 13%" />
<col style="width: 16%" />
-<col style="width: 33%" />
+<col style="width: 35%" />
</colgroup>
<thead>
<tr class="header">
@@ -126,12 +126,12 @@
</tbody>
</table>
<p>Multiline table without caption:</p>
-<table style="width:79%;">
+<table style="width:80%;">
<colgroup>
<col style="width: 15%" />
<col style="width: 13%" />
<col style="width: 16%" />
-<col style="width: 33%" />
+<col style="width: 35%" />
</colgroup>
<thead>
<tr class="header">
@@ -180,12 +180,12 @@
</tbody>
</table>
<p>Multiline table without column headers:</p>
-<table style="width:79%;">
+<table style="width:80%;">
<colgroup>
<col style="width: 15%" />
<col style="width: 13%" />
<col style="width: 16%" />
-<col style="width: 33%" />
+<col style="width: 35%" />
</colgroup>
<tbody>
<tr class="odd">