Skip to content

Commit

Permalink
Merge branch 'main' into feature.package-importer
Browse files Browse the repository at this point in the history
* main:
  Escape unprintable 0x7F (delete control character) (sass#2144)
  Bump dartdoc from 7.0.2 to 8.0.2 (sass#2146)
  • Loading branch information
jgerigmeyer committed Dec 15, 2023
2 parents 0676529 + 6f665c1 commit 3ead339
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* Produce better output for numbers with complex units in `meta.inspect()` and
debugging messages.

* Escape U+007F DELETE when serializing strings.

* When generating CSS error messages to display in-browser, escape all code
points that aren't in the US-ASCII region. Previously only code points U+0100
LATIN CAPITAL LETTER A WITH MACRON were escaped.
Expand Down
3 changes: 2 additions & 1 deletion lib/src/visitor/serialize.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,8 @@ final class _SerializeVisitor
$fs ||
$gs ||
$rs ||
$us:
$us ||
$del:
_writeEscape(buffer, char, string, i);

case $backslash:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dev_dependencies:
archive: ^3.1.2
crypto: ^3.0.0
dart_style: ^2.0.0
dartdoc: ">=6.0.0 <8.0.0"
dartdoc: ">=6.0.0 <9.0.0"
grinder: ^0.9.0
node_preamble: ^2.0.2
lints: ">=2.0.0 <4.0.0"
Expand Down

0 comments on commit 3ead339

Please sign in to comment.