Fix equalHTML assertions for bare text nodes