diff --git a/src/user/notifications.js b/src/user/notifications.js index 4e0cedbac5..4bf159196b 100644 --- a/src/user/notifications.js +++ b/src/user/notifications.js @@ -174,6 +174,7 @@ UserNotifications.sendTopicNotificationToFollowers = async function (uid, topicD let title = topicData.title; if (title) { title = utils.decodeHTMLEntities(title); + title = title.replace(/,/g, '\\,'); } const notifObj = await notifications.create({