dont get attr when *href* not in a element
Merge remote-tracking branch 'origin/master'