blade-parser-typescript icon indicating copy to clipboard operation
blade-parser-typescript copied to clipboard

Empty braces inside comments cause all further new DOM nodes to be deleted

Open bakerkretzmar opened this issue 4 months ago • 0 comments

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>

bakerkretzmar avatar Oct 09 '24 19:10 bakerkretzmar