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

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

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.6
    • Fix Version/s: 3.1.11-RC1
    • Component/s: Posting
    • Labels:
      None

      Description

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                planet styles planet styles
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: