HTML with embedded PHP is formatted differently (attributes are wrapped) compared to just plain HTML. Example
Source
<div class="tab-pane">
<p></p>
</div>
<div class="tab-pane">
<?php echo "foo"; ?>
<p></p>
</div>
After formatting
<div class="tab-pane">
<p></p>
</div>
<div
class="tab-pane">
<?php echo "foo"; ?>
<p></p>
</div>
I don't want attributes to be wrapped so have "html.format.wrapAttributes": "preserve" set.
How can I stop the PHP formatter wrapping attributes when the html contains a <?php block ?