Mobafire League of Legends Build Guides Mobafire League of Legends Build Guides
's Forum Avatar

weird glitch with BB code for individual...

Creator: The_Nameless_Bard
February 27, 2012 12:58pm
6 posts page 1 of 1 Forums » Site Support » weird glitch with BB code for individual masteries?
Permalink | Quote | PM | +Rep | Commend by The_Nameless_Bard » February 27, 2012 12:58pm | Report

It refuses to put a space between in and " Brute Force ". It also does this later with " Summoner's Resolve ".

The_Nameless_Bard's Forum Avatar

Awards Showcase
Show more awards
The_Nameless_Bard
<Ancient Member>
Posts: 12830
Joined: Jan 17th, 2011
Rep: Renowned (624)
Blog   |   Profile
Permalink | Quote | PM | +Rep | Commend by IceCreamy » February 27, 2012 1:02pm | Report
Oh yes, it has been like that for a long time. I reported it but apparently it has not been fixed (yet) ^^

DuffTime wrote:
ok ok plz carry me omg
i was only waiting for you to ask

Temzilla wrote:
Too hot to be icecream.

Luther3000 wrote:
He looks like a hair gel advert on legs

Toshabi wrote:
Icecreamy, with hair as slick and smooth as the ocean waves of Cocobana
IceCreamy's Forum Avatar

Awards Showcase
Show more awards
IceCreamy
<Moderator>
Posts: 5981
Joined: Aug 14th, 2011
Rep: Esteemed (450)
Blog   |   Profile
Permalink | Quote | PM | +Rep | Commend by jhoijhoi » February 27, 2012 1:20pm | Report
^Have noticed it happening everywhere and for a long time.
jhoijhoi's Forum Avatar

Awards Showcase
Show more awards
jhoijhoi
<MOBAFire Mother>
Posts: 13961
Joined: Mar 20th, 2011
Rep: Exalted (1943)
Blog   |   Profile
Permalink | Quote | PM | +Rep | Commend by Matt » February 27, 2012 11:30pm | Report
I'll take a look. The bbcode library has a feature that tries to adjust the white space here and there to make things look better and in this case I think it's getting overzealous. I'll see if I can adjust it.
Matt's Forum Avatar

Awards Showcase
Show more awards
Matt
<Administrator>
Posts: 4265
Joined: Dec 8th, 2009
Rep: Renowned (665)
Profile
Permalink | Quote | PM | +Rep | Commend by BarbJ » February 28, 2012 3:24pm | Report
True true, had this problem with my Mastery Guide previews.

EDITED: thought you meant the vertical spacing after your images of masteries, ignore any pictures of mice holding flowers you saw <3
"Do not rage, do not fear, Joe is here!"
BarbJ's Forum Avatar

Awards Showcase
Show more awards
BarbJ
<Exceptional Editor>
Posts: 1077
Joined: Sep 13th, 2011
Rep: Memorable (72)
Blog   |   Profile
Permalink | Quote | PM | +Rep | Commend by Matt » March 13, 2012 4:23am | Report
Well this was a little tricky to fix. It is due to a bit of a flaw in how the bbcode library parses things. The "best" solution resulted in a change of how white space is handled after images. You currently have to put in two line breaks to get your text to drop below the image, after the change you would only need one new line. Which would affect everyone's guides and signatures across the site.

So I found a kind of a half-way solution... That will fix these particular issues without breaking the new line handling after images. Will put it up soon.

Edit: For a little more detail... The bbcode parser thinks that the text after an image, is actually the content within the image tag. Since it clears certain white space after the image, it clears it after that "content", which in Nameless's situation is the space between "in" and the icon in front of "brute force".
Matt's Forum Avatar

Awards Showcase
Show more awards
Matt
<Administrator>
Posts: 4265
Joined: Dec 8th, 2009
Rep: Renowned (665)
Profile

Quick Reply:

Guest commenting is currently disabled, please log in or sign up to respond!