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

Similar BBCodes Problem

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 3.2.0
    • None
    • BBCode Engine
    • None

    Description

      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

      Attachments

        1. Screen2.jpg
          Screen2.jpg
          158 kB
        2. Screen1.jpg
          Screen1.jpg
          145 kB
        3. Parsing2.jpg
          Parsing2.jpg
          99 kB
        4. Parsing.jpg
          Parsing.jpg
          84 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Sir Xiradorn Tony Frost
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: