If a format with padding is used, the test for SEPARATING_LINE fails, resulting in a table containing an (unprintable) \x01 character instead of a separating line.
This is because the padding is applied before the test for SEPARATING_LINE. The row now contains " \x01 ", instead of "\x01", so the test fails.
However, since multi-line cells are post-padded, the test succeeds, and a separating line is added!
So, instead of pre-padding the rows, always pad them immediately before output.
If a format with padding is used, the test for SEPARATING_LINE fails, resulting in a table containing an (unprintable) \x01 character instead of a separating line.
This is because the padding is applied before the test for SEPARATING_LINE. The row now contains " \x01 ", instead of "\x01", so the test fails.
However, since multi-line cells are post-padded, the test succeeds, and a separating line is added!
So, instead of pre-padding the rows, always pad them immediately before output.