From e5845f33ad071dbea142ef1ff96d689fe7a71b86 Mon Sep 17 00:00:00 2001 From: Francesco Occhipinti Date: Sun, 18 Mar 2018 04:31:43 +0100 Subject: 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. --- test/command/4320.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/command/4320.md (limited to 'test') 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** | ++-------+--------------------------------------+ +``` -- cgit v1.2.3