diff --git a/src/public/app/services/note_content_renderer.js b/src/public/app/services/note_content_renderer.js index f3929bb55..0dd01baea 100644 --- a/src/public/app/services/note_content_renderer.js +++ b/src/public/app/services/note_content_renderer.js @@ -23,6 +23,8 @@ async function getRenderedContent(note, options = {}) { if (type === 'text') { const noteComplement = await froca.getNoteComplement(note.noteId); + console.log(noteComplement.content); + if (!utils.isHtmlEmpty(noteComplement.content)) { $renderedContent.append($('
').html(trim(noteComplement.content, options.trim))); @@ -169,7 +171,7 @@ function trim(text, doTrim) { return text; } else { - return text.substr(0, Math.min(text.length, 1000)); + return text.substr(0, Math.min(text.length, 2000)); } }