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

Font Color bbCode Breaks on Lists & Attachments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.2.0
    • BBCode Engine
    • None

      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]
      

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

              Created:
              Updated: