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

PHP Heredoc is highlighted incorrectly on commit diff page.

    XMLWordPrintable

Details

    Description

      #!php
      
      $options['onChange'] = 
      <<<JS
      $.ajax( "ajax-save", {
      		data: {
      			"user-default-role": $("#dropdown-default-role").val()
      		},
      		type: "post",
      	})
      	.done(function(e) {
      		var t = JSON.parse(e);
      		 alert(t["msg"]);
      	});
      JS;
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            fe0821b479e0 alamagus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: