I would advise configuring your text editor to automatically strip spaces on saving a file, if you can, or at least to highlight the spaces.