no href attribute for span tag

remove href attribute if wrapper tag is span
Merge pull request #847 from Remo/patch-46

no href attribute for span tag