Unwraps a text fragment from the
CDATA
section and escapes characters if necessary.