CON-1243 fix for links without hrefs