Handlebars: Stop formatting <style lang=""> as CSS (#20031)
Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
1 parent
691525df47
commit
7ed24db8e2
6 files changed
+89
-53
No files matched your search
@@ -0,0 +1,23 @@
|
||||
#### Don't format `<style lang="">` as CSS (#20031 by @kovsu)
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```hbs
|
||||
{{! Input }}
|
||||
<style lang="">
|
||||
.a { color: red;
|
||||
}
|
||||
</style>
|
||||
|
||||
{{! Prettier stable }}
|
||||
<style lang="">
|
||||
.a {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
|
||||
{{! Prettier main }}
|
||||
<style lang="">
|
||||
.a { color: red;
|
||||
}
|
||||
</style>
|
||||
```
|
||||
Reference in new issue
Block a user