Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9399

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0.x
    • Fix Version/s: 3.1.0-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

        Issue Links

          Activity

          Hide
          opalelement opalelement [X] (Inactive) 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 opalelement [X] (Inactive) 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=#00BF00 green green green red red red red red red red red [/color]
          Hide
          bantu Andreas Fischer added a comment -

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

          Show
          bantu Andreas Fischer added a comment - Nesting in this way is not supported at the moment if I remember correctly.
          Hide
          opalelement opalelement [X] (Inactive) 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 opalelement [X] (Inactive) 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
          Acyd Burn Meik Sievertsen [X] (Inactive) added a comment -

          We do not support this atm

          Show
          Acyd Burn Meik Sievertsen [X] (Inactive) added a comment - We do not support this atm

            People

            • Assignee:
              Oleg Oleg [X] (Inactive)
              Reporter:
              opalelement opalelement [X] (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development