detect space indentation if only one space

Space indentation is not detected if there is only one space at the beginning of the line.
Merge pull request #1 from xuhdev/patch-1

detect space indentation if only one space