diff --git a/frontend/js/commento.js b/frontend/js/commento.js index 5b08b9f..a80a597 100644 --- a/frontend/js/commento.js +++ b/frontend/js/commento.js @@ -1194,7 +1194,7 @@ text.replaceWith(textareaCreate(id, true)); var textarea = $(ID_TEXTAREA + id); - textarea.innerText = commentsMap[id].markdown; + textarea.innerText = commentsMap[id].markdown.replace(" ", " ").replace("\n", "
"); var editButton = $(ID_EDIT + id);