diff --git a/node/utils/ExportHtml.js b/node/utils/ExportHtml.js
index 0d64f6823..fe5ee9e46 100644
--- a/node/utils/ExportHtml.js
+++ b/node/utils/ExportHtml.js
@@ -334,11 +334,11 @@ function getHTMLFromAtext(pad, atext)
lists.push([line.listLevel, line.listTypeName]);
if(line.listTypeName == "number")
{
- pieces.push('
- ', lineContent || '
');
+ pieces.push('- ', lineContent || '
');
}
else
{
- pieces.push('- ', lineContent || '
');
+ pieces.push('- ', lineContent || '
');
}
}
//the following code *seems* dead after my patch.
@@ -465,7 +465,24 @@ exports.getPadHTMLDocument = function (padId, revNum, noDocType, callback)
return;
}
- var head = (noDocType ? '' : '\n') + '\n' + (noDocType ? '' : '\n' + '\n' + '\n' + '\n') + '';
+ var head =
+ (noDocType ? '' : '\n') +
+ '\n' + (noDocType ? '' : '\n' +
+ '\n' +
+ '\n' + '\n') +
+ '';
var foot = '\n\n';