diff options
author | Francesco Occhipinti <focchi.pinti@gmail.com> | 2018-03-18 04:31:43 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-03-17 20:31:43 -0700 |
commit | e5845f33ad071dbea142ef1ff96d689fe7a71b86 (patch) | |
tree | bd27a887c1b68ee1674b93e5b56634b774eab175 /test | |
parent | 2ddf2257dcba7554606ea96b259e81842c5bcbb3 (diff) | |
download | pandoc-e5845f33ad071dbea142ef1ff96d689fe7a71b86.tar.gz |
Don't wrap lines in grid tables when `--wrap=none` (#4320)
* Annotate gridTable code with comments and abstract small functions
* Don't wrap lines in tables when `--wrap=none`. Instead, expand cells, even if
it results in cells that don't respect relative widths or surpass page column width.
* This change affects RST, Markdown, and Haddock writers.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/4320.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/command/4320.md b/test/command/4320.md new file mode 100644 index 000000000..5b0eeb5c1 --- /dev/null +++ b/test/command/4320.md @@ -0,0 +1,15 @@ +``` +% pandoc -f native -t rst --wrap=none +[Table [] [AlignDefault,AlignDefault] [0.47368421052631576,0.5263157894736842] + [[Plain [Str "one"]] + ,[Plain [Str "two"]]] + [[[Plain [Str "ports"]] + ,[BlockQuote + [Para [Strong [Str "thisIsGoingToBeTooLongAnyway"]]]]]]] +^D ++-------+--------------------------------------+ +| one | two | ++=======+======================================+ +| ports | **thisIsGoingToBeTooLongAnyway** | ++-------+--------------------------------------+ +``` |