MyBB Community Forums

Full Version: Custom BBcode like [list]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello everyone!

I am trying to create a custom bbcode and I need from it to work propely when I write it like this:

[bbcode] text1 [bbcode] text2 [/bbcode] [/bbcode]

For now parser just handle first [bbcode] and first [/bbcode] leaving second [bbcode] and last [/bbcode] as text.

However, the {list} bbcode works fine and you can create one list inside of another.

How to overcome it?
I don't know if you can use the same name for the 2 bbcodes