From 112bd816ecf0a2a196233b7c23874fa761760e3d Mon Sep 17 00:00:00 2001 From: Armored Dragon Date: Tue, 9 Jul 2024 13:37:20 -0500 Subject: [PATCH] Sanitize notification text. Signed-off-by: Armored Dragon --- scripts/communityScripts/notificationCore/notificationCore.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/communityScripts/notificationCore/notificationCore.js b/scripts/communityScripts/notificationCore/notificationCore.js index 51e1eadde1..aea94da5d7 100644 --- a/scripts/communityScripts/notificationCore/notificationCore.js +++ b/scripts/communityScripts/notificationCore/notificationCore.js @@ -21,6 +21,8 @@ var DEFAULT_SIZE = 30; var DEFAULT_OFFSET = 10; var FLOOF_NOTIFICATION_CHANNEL = "Floof-Notif"; var MAIN_CHAT_APP_CHANNEL = "Chat"; +var ARROW_REGEX = /\= 0; i--) { if (i === 0) {