From f70276f603a346f51bacb946fb6e615bb2a09f66 Mon Sep 17 00:00:00 2001 From: Gubolin Date: Fri, 12 Sep 2014 15:42:12 +0200 Subject: beautify xml --- store.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'store.js') diff --git a/store.js b/store.js index f8d46bf..56ead6c 100644 --- a/store.js +++ b/store.js @@ -97,7 +97,7 @@ XML_Serializer.prototype.serialize = function (object) { this.flushMedia(); xml = this.store(object); this.flush(); - return xml; + return vkbeautify.xml(xml); }; XML_Serializer.prototype.store = function (object, mediaID) { @@ -135,7 +135,7 @@ XML_Serializer.prototype.mediaXML = function () { ); xml = xml + str; }); - return xml + ''; + return vkbeautify.xml(xml + ''); }; XML_Serializer.prototype.add = function (object) { -- cgit v1.3.1