Skip to content

Commit 0c232d8

Browse files
committed
the right way I suppose v7
1 parent 441c1b6 commit 0c232d8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/tokenizer.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2055,8 +2055,9 @@ impl<'a> Tokenizer<'a> {
20552055
// 'Z' => '\u{1a}',
20562056
// _ => *next,
20572057
// };
2058-
let n = 'Y';
2059-
s.push(n);
2058+
s.push('\\');
2059+
s.push('\\');
2060+
s.push(*next);
20602061
chars.next(); // consume next
20612062
}
20622063
}

0 commit comments

Comments
 (0)