diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-04-21 13:06:57 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-04-21 13:06:57 -0700 |
commit | 7fbe473b2e3b3b2b94be810b6385475c056a304a (patch) | |
tree | 324f44cf3d2f281f38d243f89836e33f8d3197eb /test/tables.mediawiki | |
parent | 229db80ac23ab0b5dba396d7748fcba0d05c4785 (diff) | |
download | pandoc-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.mediawiki')
-rw-r--r-- | test/tables.mediawiki | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tables.mediawiki b/test/tables.mediawiki index ce7c17887..5402b286b 100644 --- a/test/tables.mediawiki +++ b/test/tables.mediawiki @@ -79,7 +79,7 @@ Multiline table with caption: !align="center" width="15%"| Centered Header !width="13%"| Left Aligned !align="right" width="16%"| Right Aligned -!width="33%"| Default aligned +!width="35%"| Default aligned |- |align="center"| First | row @@ -98,7 +98,7 @@ Multiline table without caption: !align="center" width="15%"| Centered Header !width="13%"| Left Aligned !align="right" width="16%"| Right Aligned -!width="33%"| Default aligned +!width="35%"| Default aligned |- |align="center"| First | row @@ -136,7 +136,7 @@ Multiline table without column headers: |align="center" width="15%"| First |width="13%"| row |align="right" width="16%"| 12.0 -|width="33%"| Example of a row that spans multiple lines. +|width="35%"| Example of a row that spans multiple lines. |- |align="center"| Second | row |