r/ZedEditor • • 11d ago

bizarre quotation marks inside template strings in html files

this occurs even when i stop all language servers so i'm not sure exactly where this issue is coming from. i'm using a templating engine that allows calls to variables from within html-formatted template files. these usually edit perfectly fine.

this string

<input type="checkbox" class="icon mode" {{=isLightMode}} />

which is a normal-looking template code to get the result of isLightMode in the templating engine is automatically converted to

<input type="checkbox" class="icon mode" {{="isLightMode}}" />

on save. i don't want to disable formatting in general but i definitely need to figure out why this is happening so i can disable whatever is causing it.

the language server i'm using is biome but this happens even if it's stopped. anyone hit this before?

2 Upvotes

0 comments sorted by