From a13f2322910cd5049ad4e045e30ec0e3c5c16c6b Mon Sep 17 00:00:00 2001 From: Julian Jelfs Date: Sat, 9 Nov 2024 11:51:45 +0000 Subject: [PATCH] fix @everyone rendering (#6776) --- frontend/app/src/components/home/Markdown.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/src/components/home/Markdown.svelte b/frontend/app/src/components/home/Markdown.svelte index 8f338a6225..f060caad94 100644 --- a/frontend/app/src/components/home/Markdown.svelte +++ b/frontend/app/src/components/home/Markdown.svelte @@ -54,7 +54,7 @@ function replaceEveryone(text: string): string { if (!text.includes("@everyone")) return text; - return text.replace(/(^|\W)(@everyone)($|\W)/gm, "$1[**$2**](?everyone)$3"); + return text.replace(/(^|\W)(@everyone)($|\W)/gm, "$1**[$2](?everyone)**$3"); } function replaceDatetimes(text: string): string {