Trailing withspace handling in mhl
authorPhilipp Takacs <philipp@bureaucracy.de>
Mon, 19 Nov 2018 02:04:12 +0000 (03:04 +0100)
committerPhilipp Takacs <philipp@bureaucracy.de>
Sun, 25 Nov 2018 14:08:54 +0000 (15:08 +0100)
commitde6974ed610ffbfaff335021ea7e359e85c27cfa
tree6fa1314f116a65b232317b82c63d082a5bacc45f
parentfa1c9e13c8bae76993ec43f56685fa0057758579
Trailing withspace handling in mhl

If a component has trailing whitespace, e.g., body:component="> ", mhl
now trims that whitespace off when filtering blank text lines. Also add
a rtrim flag to mhl. This flag removes trailing whitespace in filtert text.

The implementation was done by David Levine <levinedl@acm.org> for nmh
commit ea0a6d8112a918809bd03d8126411040d22f2bb8
commit 1aa8f3e11e6d83ee4806abaa132ab9466f02ca5f
h/prototypes.h
man/mhl.man1
sbr/trim.c
test/tests/mhl/test-mhl-flags
uip/mhl.c