File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33* Produce better output for numbers with complex units in ` meta.inspect() ` and
44 debugging messages.
55
6+ * When generating CSS error messages to display in-browser, escape all code
7+ points that aren't in the US-ASCII region. Previously only code points U+0100
8+ LATIN CAPITAL LETTER A WITH MACRON were escaped.
9+
610### JS API
711
812* Fix a bug where certain exceptions could produce ` SourceSpan ` s that didn't
Original file line number Diff line number Diff line change @@ -82,12 +82,12 @@ class SassException extends SourceSpanException {
8282 .replaceAll ("\r\n " , "\n " );
8383 term_glyph.ascii = wasAscii;
8484
85- // For the string comment, render all non-ASCII characters as escape
85+ // For the string comment, render all non-US- ASCII characters as escape
8686 // sequences so that they'll show up even if the HTTP headers are set
8787 // incorrectly.
8888 var stringMessage = StringBuffer ();
8989 for (var rune in SassString (toString (color: false )).toString ().runes) {
90- if (rune > 0xFF ) {
90+ if (rune > 0x7F ) {
9191 stringMessage
9292 ..writeCharCode ($backslash)
9393 ..write (rune.toRadixString (16 ))
You can’t perform that action at this time.
0 commit comments