aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-10-30 12:36:36 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-10-30 12:36:36 -0700
commit7843b5759a6c086dc29b7a2cdfa2bbb4ed2732ff (patch)
tree9e6c2dc28545c3a4bd5a09d7f46075ac38f3e162 /tests
parent893ba9863cc33bc1fa68bbd71c71db89205dfa00 (diff)
downloadpandoc-7843b5759a6c086dc29b7a2cdfa2bbb4ed2732ff.tar.gz
HTML writer: use width on whole table if col widths sum to < 100%.
Otherwise some browsers display the table with the columns separated far apart.
Diffstat (limited to 'tests')
-rw-r--r--tests/tables.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tables.html b/tests/tables.html
index a9b2b247d..f5ddf3bcd 100644
--- a/tests/tables.html
+++ b/tests/tables.html
@@ -94,7 +94,7 @@
</tbody>
</table>
<p>Multiline table with caption:</p>
-<table>
+<table style="width:79%;">
<caption>Here's the caption. It may span multiple lines.</caption>
<colgroup>
<col width="15%" />
@@ -126,7 +126,7 @@
</tbody>
</table>
<p>Multiline table without caption:</p>
-<table>
+<table style="width:79%;">
<colgroup>
<col width="15%" />
<col width="13%" />
@@ -180,7 +180,7 @@
</tbody>
</table>
<p>Multiline table without column headers:</p>
-<table>
+<table style="width:79%;">
<colgroup>
<col width="15%" />
<col width="13%" />