Make squirt recognise spaces before elements

This pull request fixes issue #39 (previously #72) where squirt would not recognise spaces before inline elements such as hyperlinks.