From 2cf46328a562ac4f23face2772dd94b87340d3c4 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 5 May 2020 15:12:47 +0200 Subject: [PATCH] Fix reply notifications with mentions --- www/pad/comments.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/pad/comments.js b/www/pad/comments.js index ac7ef6353..128784671 100644 --- a/www/pad/comments.js +++ b/www/pad/comments.js @@ -122,7 +122,7 @@ define([ var data = others[id]; Env.common.mailbox.sendTo("COMMENT_REPLY", { channel: privateData.channel, - comment: data.comment, + comment: data.comment.replace(/<[^>]*>/g, ''), content: data.content }, { channel: data.notifications, @@ -928,4 +928,4 @@ define([ }; return Comments; -}); \ No newline at end of file +});