Adding in rule for irregular whitespace checking. fixes #1024

I think you're skipping over part of the story - what is giving a wrong line number? Why is a wrong line number occurring?