Click to open network menu
Join or Log In
Mobafire logo

Join the leading League of Legends community. Create and share Champion Guides and Builds.

Create an MFN Account






Or

's Forum Avatar

Embed tags need a closing tag / "gui"...

Creator: Latest Legend May 1, 2014 9:37am
Latest Legend
<Member>
Latest Legend's Forum Avatar
Show more awards
Posts:
3039
Joined:
Dec 7th, 2012
Permalink | Quote | PM | +Rep May 1, 2014 9:37am | Report
Hi,

When I embed something with [embed=sldkfjdkfj] and type something after it, some things get "swallowed" by the embed tag.

I guess an example would be best. Quote to see the real contents(note the part directly after the embed).
http://www.example.com/

Furthermore, the quote seems to cancel out the embed "swallowing".
www.example.com

When the tag is closed no problems occur: This gets completely ignored, the url doesn't automatically get recognized as <a>:
www.example.com

Quotes, on the other hand, get handled the right way:


Furthermore, the quote seems to cancel out the embed "swallowing".
www.example.com

A quick look in the source shows that the <embed> gets closed in both cases, so I guess the magic happens at the parser of the bbcode.

At the moment, the helper button for embed tags doesn't close the embed tag(in bbcode).
********'s a pretty good fertilizer
Mowen
<Retired Admin>
Mowen's Forum Avatar
Show more awards
Posts:
6449
Joined:
Nov 7th, 2010
Permalink | Quote | PM | +Rep May 1, 2014 2:42pm | Report
Gotcha, thanks!
Thanks to Minho for my sig!
Latest Legend
<Member>
Latest Legend's Forum Avatar
Show more awards
Posts:
3039
Joined:
Dec 7th, 2012
Permalink | Quote | PM | +Rep May 1, 2014 2:56pm | Report
No problem! Thanks for maintaining this awesome website!

It seems to happen only when an url is placed after the embed tag, only then the url doesn't become an <a> and the text before it gets omitted.
********'s a pretty good fertilizer

You need to log in before commenting.

League of Legends Champions:

Teamfight Tactics Guide