Yes, you're right. It was my fault. The editor settings of my WebStorm were like this: "strip trailing spaces on save: all". I have reverted the whitespace changes.