Closed
Description
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 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>
.