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) {
var value = attributes[key];
if (key == 'text') {
var cdata = document.createCDATASection(value);
featureDom.appendChild(this.rmXmlInv(cdata));
var cdata = document.createCDATASection(this.rmXmlInv(value));
featureDom.appendChild(cdata);
} else {
featureDom.setAttribute(key, this.rmXmlInv(value));
}