BBCode nesting in 3.1

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.2/Rhea followed by 3.3.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.1. If you need support for phpBB 3.1 please visit the 3.1.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
Hunchman801
Registered User
Posts: 12
Joined: Fri Sep 11, 2015 12:55 pm

BBCode nesting in 3.1

Post by Hunchman801 » Wed Sep 30, 2015 3:28 pm

Hi all,

I understand this problem is solved in 3.2 with the use of s9e\TextFormatter, however this causes critical issues in 3.1 such as the ability to break the page layout with the following code:

Code: Select all

[quote][spoiler][/quote][/spoiler]
(That works with any implementation of the spoiler tag you'll find.)

Are there any commonly used workarounds for 3.1 to prevent this from happening? Such as using a different parser, or setting up a BBCode via events rather than using custom BBCodes?

Thanks,

Post Reply