Simple Spoiler BBCode

Center and spoiler order confliction - Simple Spoiler BBCode

Center and spoiler order confliction

by Jansither » Tue Aug 29, 2017 7:43 pm

Currently spoiler and center do not work unless the center is within the spoiler.

So for example:

Code: Select all

[center][spoiler]text[/spoiler][/center]
would not work, but

Code: Select all

[spoiler][center]text[/center][/spoiler]
would

... Which is stupid, I don't know why 3.2.x does this to the ordering, but it makes it complicated for post formatting.

Is there a way to have this mod use the order that phpBB use to use?
Jansither
Registered User
Posts: 12
Joined: Sat Jul 15, 2017 7:47 pm
Contact:

Re: Center and spoiler order confliction

by AbaddonOrmuz » Tue Aug 29, 2017 8:53 pm

What's your center BBCode? It's not a standard BBCode so the problem might be the implementation of center.

From my tests it works perfectly fine, I would need a real post content to test.

PS: It's an extension, not a mod.
Some of my phpBB extensions:
Image Imgur | :chart_with_upwards_trend: SEO Metadata | Image Markdown | :lock: Auto-lock Topics
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user :penguin:
User avatar
AbaddonOrmuz
Recognised Extension Developer
Posts: 982
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo
Contact: