mirror of
https://github.com/sass/sass.git
synced 2024-09-21 10:37:22 +00:00
Add an explicit note about free interpolation following numbers (#3168)
This commit is contained in:
parent
39a3460595
commit
fa084ce397
@ -17,3 +17,7 @@ identifier. This means that:
|
|||||||
that hyphen is considered part of the identifier. This means that `$var -#{b}`
|
that hyphen is considered part of the identifier. This means that `$var -#{b}`
|
||||||
is parsed as a space-separated list containing `$var` and `-#{b}` rather than
|
is parsed as a space-separated list containing `$var` and `-#{b}` rather than
|
||||||
as the operation `$var - #{b}`.
|
as the operation `$var - #{b}`.
|
||||||
|
|
||||||
|
* Because numbers are not an identifier start characters and the interpolation
|
||||||
|
is parsed as an alphabetic character, `0#{$b}` is parsed as a space-separated
|
||||||
|
list containing `0` and `#{$b}`
|
||||||
|
Loading…
Reference in New Issue
Block a user