fix incorrect close xml tag

This commit is contained in:
2016-02-19 02:44:20 +06:00
parent d6b538c274
commit fca322fc10

View File

@@ -268,7 +268,7 @@ if (typeof Object.create != 'function') {
ft.array_foreach(this.children, function (child) {
str += child.content(indent + "\t") + "\n";
});
return str + "{0}<{1}/>".format(indent, this.name);
return str + "{0}</{1}>".format(indent, this.name);
} else {
return str + "/>";
}