proper rendering of CDATA

Related to #395