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

Similar BBCodes Problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.2.0
    • BBCode Engine
    • None

      So this is a very strange thing that happen when i try to create two bbcode similar. In past version of phpbb there is no problem for that but in the actual 3.2.0 there is a problem. So i have created two example bbcode:

      • [example] {TEXT}[/example]
        * [example={TEXT1}]{TEXT2}[/example]
        And the HTML is really simple (only for explenation purpose but you can use every kind of structure)
        * <div style="border: 1px solid">{TEXT}

        </div> :: for the first

      • <div style="border: 1px solid"><h3> {TEXT2}

        </h3>

        {TEXT1}

        </div> :: for the second

      So now when i use the the first created the bbcode engine DON't have the ability to parse this code (Screen1). The second don't have any problem.

      So i have made a second step for tring to resolve this issue, and a have delete the second bbcode created. At this point, a more strange situation happen. The first and the second bbcode are parsed from the system!!!! (Screen2) So the code are changed similar to the first bbcode parsing and the part after the = sign is ignored.
      In the last screen the post into the database and into the post form.

      Tanks for all your work.
      Sorry for my not perfet english, but I try to be clear as possible

        1. Parsing.jpg
          84 kB
          Tony Frost [X]
        2. Parsing2.jpg
          99 kB
          Tony Frost [X]
        3. Screen1.jpg
          145 kB
          Tony Frost [X]
        4. Screen2.jpg
          158 kB
          Tony Frost [X]

            Unassigned Unassigned
            Sir Xiradorn Tony Frost [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: