Minor fix.

This commit is contained in:
Paulo Gustavo Veiga 2013-03-17 13:32:41 -03:00
parent 48e211cc2d
commit b9e508424c

View File

@ -149,8 +149,8 @@ mindplot.persistence.XMLSerializer_Pela = new Class({
for (var key in attributes) { for (var key in attributes) {
var value = attributes[key]; var value = attributes[key];
if (key == 'text') { if (key == 'text') {
var cdata = document.createCDATASection(value); var cdata = document.createCDATASection(this.rmXmlInv(value));
featureDom.appendChild(this.rmXmlInv(cdata)); featureDom.appendChild(cdata);
} else { } else {
featureDom.setAttribute(key, this.rmXmlInv(value)); featureDom.setAttribute(key, this.rmXmlInv(value));
} }