🐛 BUG: "Unterminated string literal" when breaking class=""
into multiple lines
#1047
Labels
- P4: important
Violate documented behavior or significantly improves performance (priority)
What version of
@astrojs/compiler
are you using?2.10.3
What package manager are you using?
pnpm
What operating system are you using?
mac
Describe the Bug
Using
prettier-plugin-classnames
will lead to newlines being inserted intoclass=""
. This is valid HTML as far as I know, but Astro won't allow it and throws aUnterminated string literal
.Earlier issue over at the
astro
repo: withastro/astro#4029Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-yiuhkm?file=src%2Fpages%2Findex.astro
The text was updated successfully, but these errors were encountered: