Fixed HTML export

This commit is contained in:
Peter 'Pita' Martischka 2013-01-27 17:25:50 +00:00
parent 07a267be7a
commit 878fd7631c
1 changed files with 2 additions and 1 deletions

View File

@ -91,8 +91,9 @@ function getPadHTML(pad, revNum, callback)
}
exports.getPadHTML = getPadHTML;
exports.getHTMLFromAtext = getHTMLFromAtext;
exports.getHTMLFromAtext = function(pad, atext, authorColors)
function getHTMLFromAtext(pad, atext, authorColors)
{
var apool = pad.apool();
var textLines = atext.text.slice(0, -1).split('\n');