phpBB3

Custom BBCodes nesting error, ending on wrong tag *EDIT: All Default BBC are subject to this error*

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Blocker Blocker
  • Resolution: Unresolved
  • Affects Version/s: 3.0.x
  • Fix Version/s: 3.1-A1
  • Component/s: Other
  • Labels:
    None
  • Environment:
    PHP Environment: 4.4.4
    Database: MySQL 4.1.14-nt

Description

When making a custom BBCode and trying to nest, it will end on the wrong BBCode ending. For example:

If you use the top example on the Add BBCode page (for highlight) and try to use the highlight like this:

[highlight=red]the pen is [highlight=blue]BLUE![/highlight] not red[/highlight]

It will return:

the pen is [highlight=blue]BLUE!

highlighted in red and

not red[/highlight]

unformatted.

Image: Top is the BBCode screen, bottom is the output. Click for full size
!http://img296.imageshack.us/img296/3636/bberrorzu0.png

Activity

Hide
opalelement added a comment -

It has recently been discovered through testing taht this error is not only custom bbcodes, but for all text as proven with this right here:

[color=#FF0000]red red red red red red red red [color=#00BF00]green green green [/color]red red red red red red red red [/color]

red red red red red red red red color=#00BF00green green green red red red red red red red red [/color]

Show
opalelement added a comment - It has recently been discovered through testing taht this error is not only custom bbcodes, but for all text as proven with this right here:
[color=#FF0000]red red red red red red red red [color=#00BF00]green green green [/color]red red red red red red red red [/color]
red red red red red red red red color=#00BF00green green green red red red red red red red red [/color]
Hide
Andreas Fischer added a comment -

Nesting in this way is not supported at the moment if I remember correctly.

Show
Andreas Fischer added a comment - Nesting in this way is not supported at the moment if I remember correctly.
Hide
opalelement added a comment -

Well the quote tag is supported so there has to be a way to make them all work that way. I am looking at it and messing around.

Show
opalelement added a comment - Well the quote tag is supported so there has to be a way to make them all work that way. I am looking at it and messing around.
Hide
Meik Sievertsen added a comment -

We do not support this atm

Show
Meik Sievertsen added a comment - We do not support this atm

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated: