Avoid unnecessary striping of trailing whitespace