#Fix spoilered embeds

1 messages · Page 1 of 1 (latest)

floral knot
#

Fix spoilered embeds
Adds a space after spoilered links to separate them from the closing || so embeds show. With masked links, the space is added inside the brackets so the text looks the same!

Regex
Find: (?<=\()https?:\/{2}\S+(?=\)\|{2})|https?:\/{2}\S+(?=\|{2})
Replace (change to an actual space): ␣$&␣
Example
Normal spoilered embed (doesn't show): ||https://vencord.dev/||
Fixed spoilered embed (shows): ||https://docs.vencord.dev/ ||

#

Well, I guess I don't have embed perms

alpine fox
#

You could've just opened a modmail ticket to submit this

floral knot
#

Sorry IDRK how to submit stuff I thought you just make a thread

still drum
floral knot
still drum
#

Huh doesn't work on my end, well regardless it probably would make sense for consistency to have spaces on both sides

floral knot
still drum
#

Yeah