Whitespace matters sometimes. We can't assume the edge is always used to generate HTML. I use it to generate markdown and XML and this plugin introduces invalid whitespace.
@each(item in items)
<url><loc>{{ urlFor('items.show', [item.slug], { prefixUrl: rootUrl }) }}</loc></url>
@end
Package version
"@adonisjs/prettier-config": "^1.5.0"
Describe the bug
Whitespace matters sometimes. We can't assume the edge is always used to generate HTML. I use it to generate markdown and XML and this plugin introduces invalid whitespace.
@each(item in items) <url><loc>{{ urlFor('items.show', [item.slug], { prefixUrl: rootUrl }) }}</loc></url> @endhttps://discord.com/channels/423256550564691970/1430515473539137648/1430515473539137648
Reproduction repo
No response