mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-30 04:39:03 +01:00
parent
5f4994e487
commit
3eca26584d
@ -1,5 +1,8 @@
|
||||
## 1.37.6
|
||||
|
||||
* Fix a bug where quotes would be omitted for an attribute selector whose value
|
||||
was a single backslash.
|
||||
|
||||
* Allow `if` to be used as an unquoted string.
|
||||
|
||||
* Properly parse backslash escapes within `url()` expressions.
|
||||
|
@ -441,7 +441,7 @@ class Parser {
|
||||
var value = 0;
|
||||
var first = scanner.peekChar();
|
||||
if (first == null) {
|
||||
return "";
|
||||
scanner.error("Expected escape sequence.");
|
||||
} else if (isNewline(first)) {
|
||||
scanner.error("Expected escape sequence.");
|
||||
} else if (isHex(first)) {
|
||||
|
Loading…
Reference in New Issue
Block a user