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

Font Color bbCode Breaks on Lists & Attachments

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: BBCode Engine
    • Labels:
      None

      Description

      Using font color BBcode around lists is problematic. For example:

      [color=#FF0000]Here is some text
      [list][*]list item 1
      [*]item 2
      [*]item 3[/list]
      More text.[/color]
      

      Nothing in the list or past the list will be colored. Tested on phpBB website and this problem can be replicated there. This is also causing problems with attachments showing when inside the font color bbcode.

      [attachment=0]temp icon.jpg[/attachment]
      [color=#FF0000][attachment=0]temp icon.jpg[/attachment][/color]
      [attachment=0]temp icon.jpg[/attachment]
      

      The middle attachment in the example above just shows [attachment=0]temp icon.jpg[/attachment] in red text.

      It will also break custom bbCodes. For example a Horizontal Ruler code:

      [hr][/hr]
      [color=#FF0000][hr][/hr][/color]
      [hr][/hr]
      

        Attachments

        1. attachment bug example.jpg
          91 kB
          BondGamer [X]
        2. color bbcode issue.jpg
          66 kB
          BondGamer [X]
        3. custom bbcode broken.jpg
          36 kB
          BondGamer [X]

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                BondGamer BondGamer [X] (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: