Skip to content

Commit d6932e7

Browse files
committed
Update changelog
1 parent 6069f7c commit d6932e7

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

changelog_unreleased/lwc/18383.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
#### Fix lwc quotes staying when `embeddedLanguageFormatting` is `off` in attribute values (#18383 by @kovsu)
1+
#### Avoid quote around interpolations (#18383 by @kovsu)
22

33
<!-- prettier-ignore -->
44
```html
55
<!-- Input -->
6-
<div double-quoted="{data}" single-quoted='{data}'
7-
unquoted={data}> </div>
6+
<div foo={bar}> </div>
87

9-
<!-- Prettier stable -->
10-
<div double-quoted="{data}" single-quoted="{data}" unquoted="{data}"></div>
8+
<!-- Prettier stable (--embedded-language-formatting off) -->
9+
<div foo="{bar}"></div>
1110

12-
<!-- Prettier main -->
13-
<div double-quoted="{data}" single-quoted="{data}" unquoted={data}></div>
11+
<!-- Prettier main (--embedded-language-formatting off) -->
12+
<div foo={bar}></div>
1413
```

0 commit comments

Comments
 (0)