adding undefined check to hrefEmpty
Merge remote-tracking branch 'origin/master'
closes #1803
striptags