blade-parser-typescript
blade-parser-typescript copied to clipboard
Empty braces inside comments cause all further new DOM nodes to be deleted
When multiple Blade echo braces ({{}}
) appear inside a Blade comment, all new DOM nodes after that point in the document are removed.
This:
<div>
<h1></h1>
{{-- {{ }} {{ }} --}}
<div>
<span></span>
</div>
<h2></h2>
</div>
Is formatted to this:
<div>
<h1></h1>
{{-- {{ }} {{ }} --}}
</div>