flattenTextContent returns text in all nodes, not just text nodes.