2376: correct TextNode AppendTextContent