Stillat / vscode-antlers-language-server

Provides rich language features for Statamic's Antlers templating language, including code completions, syntax highlighting, and more.
https://antlers.dev
MIT License
36 stars 3 forks source link

Stripping code inside ignore tags #68

Closed johncarter- closed 1 year ago

johncarter- commented 1 year ago

Sorry John. I hope this isn't another user error on my part.

Describe the bug Formatting this:

    {{# format-ignore-start #}}
    <title>{{ yield:document_title_section }}{{ document_title ?? title + ' / ' + config:app:name }}{{ /yield:document_title_section }}</title>
    {{# format-ignore-end #}}

Ends with this:

    {{# format-ignore-start #}}
    <title>{{ yield:document_title_section }}</title>
    {{# format-ignore-end #}}

Impacted Products Which Antlers Toolbox products does this bug apply to?

Versions and Other Plugins/Extensions v2.5.1

JohnathonKoster commented 1 year ago

No worries! A fix has been published in the following versions: