CDATA bug in dhtmlxGird when loading XML

Hi all,

I load XML in dhtmlxGird using : str.append(“”);
But when the text-content of comments also contains the tag "<![CDATA[ " ,it will pop up a error box. Because the CDATA can not be nested use.

So guys, how will you tackle this problem? :ugeek:

Something similar to the next can be used

str.append("",">")+"]]>");