Fixed HTML export
This commit is contained in:
parent
07a267be7a
commit
878fd7631c
|
@ -91,8 +91,9 @@ function getPadHTML(pad, revNum, callback)
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.getPadHTML = getPadHTML;
|
exports.getPadHTML = getPadHTML;
|
||||||
|
exports.getHTMLFromAtext = getHTMLFromAtext;
|
||||||
|
|
||||||
exports.getHTMLFromAtext = function(pad, atext, authorColors)
|
function getHTMLFromAtext(pad, atext, authorColors)
|
||||||
{
|
{
|
||||||
var apool = pad.apool();
|
var apool = pad.apool();
|
||||||
var textLines = atext.text.slice(0, -1).split('\n');
|
var textLines = atext.text.slice(0, -1).split('\n');
|
||||||
|
|
Loading…
Reference in New Issue