Sanitation of trailing whitespace