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

New BBCode engine ignores BBCodes with the same base tag

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 3.2.0-a1
    • None
    • BBCode Engine
    • None
    • PHP 5.6.16, MariaDB 10.1

    Description

      Currently in phpBB 3.1.6 you can create, say 'test' and 'test=' with no problem.

      With 3.2.0-a1, if you create two BBCodes with the same base tag, the latest one is ignored.

      Steps to reproduce:

      1. Create a BBCode 'test'

      BBCode usage:

      [test]{TEXT}[/test]
      

      HTML replacement:

      <div>BBCode 1: {TEXT}</div>
      

      2. Create BBCode 'test='

      BBCode usage:

      [test={SIMPLETEXT}]{TEXT}[/test]
      

      HTML replacement:

      <div>BBCode 2: {TEXT}[{SIMPLETEXT}]</div>
      

      3. Create a new topic:

      [test]First test[/test]
      [test=2]Second test[/test]
      

      Expected result:

      BBCode 1: First test
      BBCode 2: Second test[2]
      

      Actual result:

      BBCode 1: First test
      BBCode 1: Second test
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              AbaddonOrmuz AbaddonOrmuz [X] (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: