Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[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]
Reply
#3
(01-25-2019, 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    ¯\_(ツ)_/¯
[Image: y3xr3cj5]
Reply
#4
(01-25-2019, 12:16 PM)Serpius Wrote:
(01-25-2019, 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]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)