fix: stringify 反斜杠转义臂补双反斜杠输出

This commit is contained in:
2026-09-27 20:00:54 +00:00
parent 9ab19fb472
commit 7f5ca71b9b
+1 -1
View File
@@ -1141,7 +1141,7 @@ fn stringify_string_units(units: &[u16], out: &mut Vec<u16>) {
}
match u {
0x22 => push_ascii(out, "\\\""),
0x5C => push_ascii(out, "\\"),
0x5C => push_ascii(out, "\\\\"),
0x08 => push_ascii(out, "\\b"),
0x0C => push_ascii(out, "\\f"),
0x0A => push_ascii(out, "\\n"),