Use four spaces for tabs and trim tailing whitespace.