ascii: Omit whitespace at the end of a line.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 7 Apr 2013 19:57:32 +0000 (12:57 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 7 Apr 2013 19:58:15 +0000 (12:58 -0700)
commitd2e22edf089ef0d635671732487d7d4918d30186
treeb80b5d92dc5ac48fb7d4e9155d388b1cecb61765
parent9cbe8f135bb944db20c630e991d995af0027d058
ascii: Omit whitespace at the end of a line.

Long string variables tend not to be completely filled with data, which
means that they end in a lot of spaces.  The ASCII output driver didn't
handle these well.  Instead, it put a blank line in the cell for each
trailing space.

This fixes the problem and adds a test.

Reported by Ronald Crichton.
Bug #38672.
src/output/ascii.c
tests/output/render.at