diff --git a/src/data/templates/view_note_detail.html b/src/data/templates/view_note_detail.html index 9f41281d4..cba627190 100644 --- a/src/data/templates/view_note_detail.html +++ b/src/data/templates/view_note_detail.html @@ -17,7 +17,7 @@ $('.jHtmlArea').contents().find('iframe').contents().find('body').css({"background-color": "white"}); }); function setnotetext() { - document.getElementById('notetext').value = $('.jHtmlArea').contents().find('iframe').contents().find('body').text(); + document.getElementById('notetext').value = $('.jHtmlArea').contents().find('iframe').contents().find('body').html(); }