check for href on element will prevent the content to be transcluded