Hidden 11 yrs ago Post by Meth Quokka
Raw
OP
Avatar of Meth Quokka

Meth Quokka This Was Nutter's Idea

Member Seen 2 yrs ago

Unless I'm derping on my bb:

italic

non-italic
italic

bold
non-bold

bold

test

test
test


test

test
test


Multiple's don't work properly.

Except Quote.
Hidden 11 yrs ago Post by Ellri
Raw
Avatar of Ellri

Ellri Lord of Eat / Relic

Member Seen 2 yrs ago

That would be correct.

Multiple editions of the BBcodes have lost the fallatus to work properly.
Hidden 11 yrs ago Post by Mahz
Raw
Avatar of Mahz

Mahz ¯\_(ツ)_/¯

Admin Seen 2 mos ago

Oh, I see.

The matching is lazy instead of eager which is wrong. For example, your first center is matching the last /center instead of matching the nearest /center.

I'll "fix" it by making it always match the first closing tag of its kind. Which means you still can't nest BBCode, but that's good enough for now.

I need full-time BBCode staff.
Hidden 11 yrs ago Post by Meth Quokka
Raw
OP
Avatar of Meth Quokka

Meth Quokka This Was Nutter's Idea

Member Seen 2 yrs ago

Mahz said
Oh, I see.The matching is lazy instead of eager which is wrong. For example, your first center is matching the last /center instead of matching the nearest /center.I'll "fix" it by making it always match the first closing tag of its kind. Which means you still can't nest BBCode, but that's good enough for now.I need full-time BBCode staff.


Fair enough.

I wish I could help but unfortunately I'm an uneducated peasant in these manners.
Hidden 11 yrs ago Post by Ellri
Raw
Avatar of Ellri

Ellri Lord of Eat / Relic

Member Seen 2 yrs ago

Better to have fully functional non-nested than lazy-linking.

One lazy way to have nested hiders is to have a duplicate of the existing one, with just one difference:
[hider2=] instead of [hider=]
Pretty sure nesting hiders is the thing that would be most useful currently.
Hidden 11 yrs ago Post by Mahz
Raw
Avatar of Mahz

Mahz ¯\_(ツ)_/¯

Admin Seen 2 mos ago

Hidden 11 yrs ago Post by Meth Quokka
Raw
OP
Avatar of Meth Quokka

Meth Quokka This Was Nutter's Idea

Member Seen 2 yrs ago

Hey Mahz, if you leave a space between them like so :

bold

non bold

bold

it works fine. Not sure if it's handy though
Hidden 11 yrs ago Post by Ellri
Raw
Avatar of Ellri

Ellri Lord of Eat / Relic

Member Seen 2 yrs ago

testing multi-instance Bold:
1
2
3

Multi-instance italics:
1
2
3

Multi-instance Center:
1

2

3


EDIT:
Test Successful.
Test notes:
Center Code adds a line break.
Hidden 11 yrs ago Post by Mahz
Raw
Avatar of Mahz

Mahz ¯\_(ツ)_/¯

Admin Seen 2 mos ago

Ellri said Center Code adds a line break.


1
2
3


Weird.
Hidden 11 yrs ago Post by Ellri
Raw
Avatar of Ellri

Ellri Lord of Eat / Relic

Member Seen 2 yrs ago

Mahz said
Weird.


Even weirder... Quoting your post did not include your centered stuff.

testing intersecting Bold/italic.
1
2

3
Hidden 11 yrs ago Post by Mahz
Raw
Avatar of Mahz

Mahz ¯\_(ツ)_/¯

Admin Seen 2 mos ago

Since nesting doesn't work, my Quote code only quotes the text that isn't wrapped in anything (top-level text).

The side-effect is that it also doesn't quote simple things like bold and italicized text.

But maybe we'll get people to stop using BBCode and just write.
Hidden 11 yrs ago Post by Ellri
Raw
Avatar of Ellri

Ellri Lord of Eat / Relic

Member Seen 2 yrs ago

haha. Nice one.
Hidden 11 yrs ago Post by Gowi
Raw
Avatar of Gowi

Gowi

Member Seen 1 yr ago

Mahz said
Since nesting doesn't work, my Quote code only quotes the text that isn't wrapped in anything (top-level text).The side-effect is that it also doesn't quote simple things like bold and italicized text.But maybe we'll get people to stop using BBCode and just write.


BBcode is good for emphasis, though.
Hidden 11 yrs ago Post by Ellri
Raw
Avatar of Ellri

Ellri Lord of Eat / Relic

Member Seen 2 yrs ago

Not now, Gowi... Not now...

But we have gained a glimpse into Mahz Master plan! (see sig)
↑ Top
© 2007-2024
BBCode Cheatsheet