Fix HtmlParserLinkExtractor and tests after #485 merge

Applying the same trick for `HtmlParserLinkExtractor` as done for `SgmlLinkExtractor` in https://github.com/scrapy/scrapy/pull/485