Use someone else's 'remove whitespace' plugin.
remove own crappy 'remove whitespace' plugin