Minor fix.
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user