Skip to content

Commit

Permalink
fix: use new spoiler format
Browse files Browse the repository at this point in the history
  • Loading branch information
insertish committed Nov 28, 2024
1 parent bb8c9c4 commit 84fdb46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/regex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export const RE_CHANNELS = /<#([0-9ABCDEFGHJKMNPQRSTVWXYZ]{26})>/g;
/**
* Regular expression for spoilers.
*/
export const RE_SPOILER = /!!.+!!/g;
export const RE_SPOILER = /\|\|.+\|\|/g;

0 comments on commit 84fdb46

Please sign in to comment.