Improve pattern for links, in case the href is not first attribute of
the a tag.