diff --git a/src/node/db/API.js b/src/node/db/API.js index 9a2248435..3955d4958 100644 --- a/src/node/db/API.js +++ b/src/node/db/API.js @@ -243,8 +243,6 @@ exports.getHTML = function(padID, rev, callback) exportHtml.getPadHTML(pad, rev, function(err, html) { if(ERR(err, callback)) return; - html = "" +html; // adds HTML head - html += ""; data = {html: html}; callback(null, data); }); @@ -255,8 +253,6 @@ exports.getHTML = function(padID, rev, callback) exportHtml.getPadHTML(pad, undefined, function (err, html) { if(ERR(err, callback)) return; - html = "" +html; // adds HTML head - html += ""; data = {html: html}; callback(null, data); });