Fix spec of text node.