I realize this has been merged already, but this fix seems awfully cryptic...the sort of thing that no will remember why it is there a year from now (except if they search through github issues). Would it be possible to add an explanation for why, in the first place, it is necessary to determine if the line begins with a whitespace?