From 73c9643416d1981777e8264a61949f9e966c35be Mon Sep 17 00:00:00 2001 From: LightZirconite Date: Fri, 2 Jan 2026 16:20:47 +0100 Subject: [PATCH] fix: Remove unnecessary whitespace in sanitizeDiscordText function --- api/report-error.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/report-error.js b/api/report-error.js index e178d92..9cfa379 100644 --- a/api/report-error.js +++ b/api/report-error.js @@ -25,7 +25,7 @@ function isRateLimited(ip) { // Sanitize text to prevent Discord mention abuse function sanitizeDiscordText(text) { if (!text) return '' - + return String(text) // Remove @everyone and @here mentions .replace(/@(everyone|here)/gi, '@\u200b$1')