Can you avoid adding trailing whitespace like this? I can help you configure your text editor to automatically delete it, if you want.