Fix #1622108 - IllegalArgumentException on using CDATA