Updated CDATA detection