keep the link text for longnames with variations (#857)