Convert anchor to text node.