mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-27 04:34:59 +01:00
Properly escape U+0009 CHARACTER TABULATION in unquoted strings (#504)
This commit is contained in:
parent
d9c836e9d0
commit
6bdb49a9d5
@ -1,3 +1,7 @@
|
||||
## 1.14.4
|
||||
|
||||
* Properly escape U+0009 CHARACTER TABULATION in unquoted strings.
|
||||
|
||||
## 1.14.3
|
||||
|
||||
* Treat `:before`, `:after`, `:first-line`, and `:first-letter` as
|
||||
|
@ -395,7 +395,7 @@ abstract class Parser {
|
||||
|
||||
if (identifierStart ? isNameStart(value) : isName(value)) {
|
||||
return new String.fromCharCode(value);
|
||||
} else if (value <= 0x1F ||
|
||||
} else if ((value <= 0x1F && value != $tab) ||
|
||||
value == 0x7F ||
|
||||
(identifierStart && isDigit(value))) {
|
||||
var buffer = new StringBuffer()..writeCharCode($backslash);
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: sass
|
||||
version: 1.14.3
|
||||
version: 1.14.4
|
||||
description: A Sass implementation in Dart.
|
||||
author: Dart Team <misc@dartlang.org>
|
||||
homepage: https://github.com/sass/dart-sass
|
||||
|
Loading…
Reference in New Issue
Block a user