[MyCode] For The Badge
#1
Does anyone remember For The Badge? Well, I quickly came up with a MyCode to embed those badges.

Regular Expression:
\[forthebadge\](.*?)\[/forthebadge\]

Replacement:
<img src="https://forthebadge.com/images/badges/$1.svg" alt="">

That's it! An example would be:
[forthebadge]built-with-love[/forthebadge]
Reply
#2
You need to be more strict about you allow to be inserted between tags.
[forthebadge]built-with-love.svg" alt=""><span style="color: red; font-size: 10em;">Hi!</span>[/forthebadge]
Soporte en Español

[Image: signature.png]

Discord at omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply
#3
(2019-01-25, 07:18 AM)Omar G. Wrote: You need to be more strict about you allow to be inserted between tags.
[forthebadge]built-with-love.svg" alt=""><span style="color: red; font-size: 10em;">Hi!</span>[/forthebadge]

@Omar G.

Look at the screenshot...

[Image: 231f6fe9988919d75d15b800742cce79.png]
I'm Serpius and You're Not    ¯\_(ツ)_/¯
Reply
#4
(2019-01-25, 12:16 PM)Serpius Wrote:
(2019-01-25, 07:18 AM)Omar G. Wrote: You need to be more strict about you allow to be inserted between tags.
[forthebadge]built-with-love.svg" alt=""><span style="color: red; font-size: 10em;">Hi!</span>[/forthebadge]

@Omar G.

Look at the screenshot...

[Image: 231f6fe9988919d75d15b800742cce79.png]

@Serpius

Look at the screenshot...

[Image: TOFFPfZ.png]
Soporte en Español

[Image: signature.png]

Discord at omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)