Fix issue disabling white-space-mode.
Merge pull request #369 from climatewarrior/add-web-mode

Fix issue disabling white-space-mode.