tweaking html conversion process

This commit is contained in:
azivner
2017-09-17 21:17:04 -04:00
parent d6ffae2035
commit a460c40587
3 changed files with 61 additions and 42 deletions

View File

@@ -1,4 +1,8 @@
function notecase2html(note) {
if (globalHtmlEnabled) {
return note.detail.note_text;
}
let noteText = note.detail.note_text;
note.formatting.forEach(el => el.type = 'formatting');