Fix Dom.contains(elemNode, textNode)