Better escaping of stuff in TextNode