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

Nested custom BBCode not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • 3.2.0-RC1, 3.2.0-RC2
    • BBCode Engine
    • None

      With the two following BBcodes:

      1. spoiler:

      [spoiler]{TEXT}[/spoiler]
      

      <span class="spoiler spoiler-blurred" title="Spoiler">{TEXT}</span>
      

      2. youtube:

      [youtube]{IDENTIFIER}[/youtube]
      

      <div class="video-wrapper"><div><iframe width="560" height="315" src="https://www.youtube.com/embed/{IDENTIFIER}?rel=0" frameborder="0" allowfullscreen></iframe></div></div>
      

      Both BBCodes work separately but [spoiler][youtube]zQzMB8x59jo[/youtube][/spoiler] does not parse the inner [youtube] BBCode. It used to work on 3.1.x.

            Unassigned Unassigned
            Hunchman801 Hunchman801 [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: