Removing trailing spaces and tabs.  Fixes #3952