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.ms | |
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.ms')
-rw-r--r-- | test/tables.ms | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tables.ms b/test/tables.ms index 1ef6b52f4..6d9138c64 100644 --- a/test/tables.ms +++ b/test/tables.ms @@ -138,7 +138,7 @@ Multiline table with caption: Here’s the caption. It may span multiple lines. .TS delim(@@) tab( ); -cw(10.5n) lw(9.6n) rw(11.4n) lw(23.6n). +cw(10.5n) lw(9.6n) rw(11.4n) lw(24.5n). T{ Centered Header T} T{ @@ -174,7 +174,7 @@ Multiline table without caption: .PP .TS delim(@@) tab( ); -cw(10.5n) lw(9.6n) rw(11.4n) lw(23.6n). +cw(10.5n) lw(9.6n) rw(11.4n) lw(24.5n). T{ Centered Header T} T{ @@ -244,7 +244,7 @@ Multiline table without column headers: .PP .TS delim(@@) tab( ); -cw(10.5n) lw(9.6n) rw(11.4n) lw(23.6n). +cw(10.5n) lw(9.6n) rw(11.4n) lw(24.5n). T{ First T} T{ |