HookyQR / VSCodeBeautify

Enable js-beautify (https://github.com/beautify-web/js-beautify) in VS Code
MIT License
606 stars 180 forks source link

PHP Heredoc #338

Open Zauberbutter opened 4 years ago

Zauberbutter commented 4 years ago

Action performed

Format .php file with HookyQR.beautifyFile command (select HTML)

<div>
    <?php $test = <<<'C'
<?php $test = "test" ?>
…
C;
?>
</div>

Expected results

<div>
    <?php $test = <<<'C'
<?php $test = "test" ?>
…
C;
    ?>
</div>

Actual results

<div>
    <?php $test = <<<'C'
<?php $test = "test" ?>
    …
    C;
    ?>
</div>