Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-7593

Breaking apart php blocks with html breaks php formatting

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.2.2
    • Fix Version/s: None
    • Component/s: HTML, PHP
    • Labels:
      None

      Description

      When I come in or out of php to include large chunks of html within my php code, the formatting is broken.

      Steps to reproduce:

      1. Create a php file with the following code:

      <?php
          if($a){
          	if($b){
          		if($c){
          			?>
          			
          			<p> This is some HTML Text</p>
          			
          			<?php
          		}
          	}
          }
      	else{
      		
      	}
      ?>
      

      Actual Result

      Everything after the HTML block does not format

      Expected Result

      PHP should retain formatting across the document to allow for inserted HTML.

        Attachments

        1. .log
          120 kB
        2. after.PNG
          after.PNG
          21 kB
        3. before.PNG
          before.PNG
          23 kB
        4. diagnostic2374922296321435786.log
          0.6 kB

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              v7web Penny
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code