Skip to content

Commit 8204545

Browse files
authored
Clarify the reason why compound strings are needed
1 parent 0ffc061 commit 8204545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ body, .foo {
380380
`[STRING_START, <quote>], [VALUE|VALUE_REF, <argument>], [STRING_END]`
381381

382382
When a string in CSS contains an interpolation, e.g. `"hello, ${name}"`, the string should be split up into its values and
383-
value refs.
383+
value references. This is because compound values are unsuitable to represent strings, since all values and value references should be joined without a separating whitespace. Also how the references should be escaped changes for strings, due to their quotes.
384384

385385
```js
386386
[

0 commit comments

Comments
 (0)