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

(incomplete) BBCode usage of [quote] and [list] forces closing [/list] and [/quote]s, ultimately breaking HTML/Design

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.0-a1
    • 3.0.8
    • BBCode Engine, Posting
    • None

      Just had a reply from someone who managed to quote my text and then improperly extending it. I've managed to cut it down into the following demo: if you have a posting with this (wrongly used) BBCode:

      [quote][list][*]one
      [quote][list][*]two[/list][/quote]

      and submit it, phpBB will automatically try to rectify it by adding missing closing elements. However, it then turns out as:

      [quote][list][*]one
      [quote][list][*]two[/list][/list][/quote][/quote]

      ...which will break the site's HTML severily, also breaking the style/design (see link).

      Don't have a solution yet. It's unavoidable if someone really wants to break your site layout...

            nicofuma nicofuma
            AmigoJack AmigoJack
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: