Remove needless formatting of text nodes.