fix relative url detection when entry link starts with a blank space or blank line