From abf083252c9eb8cee83222edc94d632774b80021 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 29 Apr 2020 16:54:02 +0200 Subject: [PATCH] Fix multiline comments --- www/pad/comments.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/pad/comments.js b/www/pad/comments.js index 0cad4cd58..9a4641253 100644 --- a/www/pad/comments.js +++ b/www/pad/comments.js @@ -192,6 +192,7 @@ define([ if (!curve || !notif) { return; } notify[curve] = notif; }); + $clone.find('br').replaceWith("\n"); $clone.find('> *:not(.cp-mentions)').remove(); var content = clone.innerHTML.trim(); if (!content) { return; }