1 parent 76f7d7e commit 53ab5deCopy full SHA for 53ab5de
1 file changed
parser/src/lexer.rs
@@ -530,7 +530,7 @@ where
530
loop {
531
match self.next_char() {
532
Some('\\') => {
533
- if self.chr0 == Some(quote_char) {
+ if self.chr0 == Some(quote_char) && !is_raw {
534
string_content.push(quote_char);
535
self.next_char();
536
} else if is_raw {
0 commit comments