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

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

    XMLWordPrintable

Details

    Description

      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...

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: