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

?> doesn't show when posted at the end of [code=php]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 3.0.6
    • Posting
    • None

      The closing PHP tag doesn't appear to be displaying when posted by itself inside of

      [code=php][/code]

      .

      For example, regular code tags work fine:

      [code]?>[/code]

      However, PHP code tags don't:

      [code=php]?>[/code]

      When a user submits this, the ?> is removed from the code box, resulting in a blank code box being posted:

       

      Tested on the phpBB.com Support Forum and localhost (Running 3.0.7).

            Marc Marc
            planet styles planet styles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: