Takes nametext inside the anchor tag to fix the issue completely.