Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-13694

Code syntax highlighting for PHP in issue text broken

    XMLWordPrintable

Details

    Description

      When adding a piece of PHP code via the <code> tag I get a syntax highlight problem for this piece of PHP code:

      #!php
      
      <?php
      class test {
      
      	public function dropDatabaseByName($dbName) {
      		$this->query("DROP DATABASE \"$dbName\"");
      	}
      	
          // From here on this looks broken!
      	public function currentDatabase() {
      		return $this->database;
      	}
      }
      
      

      Screen shot:

      Attachments

        Activity

          People

            Unassigned Unassigned
            0211aae32e3c powtac
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: