summaryrefslogtreecommitdiff
path: root/store.js
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2014-12-07 12:40:31 +0100
committerGubolin <gubolin@fantasymail.de>2014-12-07 12:40:31 +0100
commit1cf546c9fc8b635cf722830c123b7ef25f97ea93 (patch)
tree0c350c920952c9fe424b1cd9178e1bfc15c74486 /store.js
parent278c72442a914255602ef5beb9ebdb716e6fae4c (diff)
parent3c6380dfa5866cf3425f44b1d1eb08ef5c3baf1b (diff)
downloadsnap-1cf546c9fc8b635cf722830c123b7ef25f97ea93.tar.gz
snap-1cf546c9fc8b635cf722830c123b7ef25f97ea93.zip
Merge branch github_backend
Diffstat (limited to 'store.js')
-rw-r--r--store.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/store.js b/store.js
index 7b2b7e1..bed1371 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 + '</media>';
+ return vkbeautify.xml(xml + '</media>');
};
XML_Serializer.prototype.add = function (object) {