Fix leading/trailing whitespace syntax detection
Merge pull request #43 from noinkling/fix-leading-trailing-syntax

Fix leading/trailing whitespace syntax detection