Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-9399

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 3.1.0-a1
    • 3.0.x
    • Other
    • None
    • PHP Environment: 4.4.4
      Database: MySQL 4.1.14-nt

      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

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

              Created:
              Updated:
              Resolved: