This commit is contained in:
azivner
2018-05-30 23:18:56 -04:00
parent bd66b8a1c8
commit 8bf4633cd0
2 changed files with 5 additions and 1 deletions

View File

@@ -33,6 +33,10 @@ async function importToBranch(req) {
}
function toHtml(text) {
if (!text) {
return '';
}
return '<p>' + text.replace(/(?:\r\n|\r|\n)/g, '</p><p>') + '</p>';
}