MivaScript Builtin Function, Miva Merchant 9+
miva_cdata_encode( text )
<mvt:assign name="g.return_value" value="miva_cdata_encode( text )" />
Create one or more CDATA tags with the provided text, splitting any data with "]]>" into two CDATA tags with "]]" at the end of one CDATA tag, and ">" as the first value of the next CDATA tag.