19 lines
308 B
Markdown
19 lines
308 B
Markdown
#### Fix unstable comment between a tagged template's tag and quasi (#19345 by @sarathfrancis90)
|
|
|
|
<!-- prettier-ignore -->
|
|
```jsx
|
|
// Input
|
|
foo /* comment */
|
|
`x`;
|
|
|
|
// Prettier stable
|
|
foo /* comment */`x`;
|
|
|
|
// Prettier stable (second format)
|
|
foo /* comment */ `x`;
|
|
|
|
// Prettier main
|
|
foo /* comment */
|
|
`x`;
|
|
```
|