You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to configure html-self-closing so that it aways produces most compact, yet correct tags. That would mean preferring void > self-closing > separate closing tag, but only within spec limitations.
I was able to accomplish that for HTML/Svelte with { void: 'never', normal: 'never' } settings (example output: <img><div></div><Component/>), but now it changes SVG tags from <path/> to <path></path>.
The text was updated successfully, but these errors were encountered:
@Shyam-Chen How is that related? Both <svg><path/></svg> and <svg><path></path></svg> are valid in Svetle 5 and migrate button in Svelte 5 REPL doesn't do anything to them.
Description
I would like to be able to configure
html-self-closing
so that it aways produces most compact, yet correct tags. That would mean preferringvoid
>self-closing
>separate closing tag
, but only within spec limitations.I was able to accomplish that for HTML/Svelte with
{ void: 'never', normal: 'never' }
settings (example output:<img><div></div><Component/>
), but now it changes SVG tags from<path/>
to<path></path>
.The text was updated successfully, but these errors were encountered: