Attempt to fix #90, which is likely caused by empty lines containing spaces from git diff or hg diff.
This is a naive attempt, simply stripping all white spaces at the beginning of the detect_man_page_helper function (and removing the test on white spaces later, which then serves no purpose).
Thanks! The only case I can think of where this fails is when we need to detect a man page that has "bold" or "underlined" whitespace. Until we find such a case I am fine with this fix.
Attempt to fix #90, which is likely caused by empty lines containing spaces from
git diff
orhg diff
.This is a naive attempt, simply stripping all white spaces at the beginning of the
detect_man_page_helper
function (and removing the test on white spaces later, which then serves no purpose).