diff --git a/src/node/db/API.js b/src/node/db/API.js index f0b44d92e..8d4d74398 100644 --- a/src/node/db/API.js +++ b/src/node/db/API.js @@ -260,7 +260,7 @@ exports.getHTML = async function(padID, rev) } // get the html of this revision - html = await exportHtml.getPadHTML(pad, rev); + let html = await exportHtml.getPadHTML(pad, rev); // wrap the HTML html = "" + html + "";