BBCode nesting in 3.1

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.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: 15
Joined: Fri Sep 11, 2015 12:55 pm

BBCode nesting in 3.1

Post by Hunchman801 »

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