Skip to content

Commit 3ead339

Browse files
committed
Merge branch 'main' into feature.package-importer
* main: Escape unprintable 0x7F (delete control character) (sass#2144) Bump dartdoc from 7.0.2 to 8.0.2 (sass#2146)
2 parents 0676529 + 6f665c1 commit 3ead339

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Produce better output for numbers with complex units in `meta.inspect()` and
44
debugging messages.
55

6+
* Escape U+007F DELETE when serializing strings.
7+
68
* When generating CSS error messages to display in-browser, escape all code
79
points that aren't in the US-ASCII region. Previously only code points U+0100
810
LATIN CAPITAL LETTER A WITH MACRON were escaped.

lib/src/visitor/serialize.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,8 @@ final class _SerializeVisitor
10901090
$fs ||
10911091
$gs ||
10921092
$rs ||
1093-
$us:
1093+
$us ||
1094+
$del:
10941095
_writeEscape(buffer, char, string, i);
10951096

10961097
case $backslash:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dev_dependencies:
4242
archive: ^3.1.2
4343
crypto: ^3.0.0
4444
dart_style: ^2.0.0
45-
dartdoc: ">=6.0.0 <8.0.0"
45+
dartdoc: ">=6.0.0 <9.0.0"
4646
grinder: ^0.9.0
4747
node_preamble: ^2.0.2
4848
lints: ">=2.0.0 <4.0.0"

0 commit comments

Comments
 (0)