Skip to content

Commit

Permalink
fix @everyone rendering (#6776)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianjelfs authored Nov 9, 2024
1 parent 9ced4ba commit a13f232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/src/components/home/Markdown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a13f232

Please sign in to comment.