🐛 BUG: SASS content incorrectly highlighted as CSS syntax when lang='sass'
is not on the same line with <style
#987
Labels
- P2: nice to have
Not breaking anything but nice to have (priority)
feat: syntax
Issue in our syntax highlighting (scope)
Describe the Bug
When the
lang
attribute of the<style>
tag is not on the same line as thestyle
tag, the content may be incorrectly highlighted as CSS syntax.Steps to Reproduce
npm create astro@latest
anyname.astro
with the contents.bar
(include</style>
) will be incorrectly highlighted as css syntax, not sass.Link to Minimal Reproducible Example
https://gist.github.com/HPCesia/6e935433cfd6e414099f71714cb4961d
The text was updated successfully, but these errors were encountered: