diff --git a/src/parser.rs b/src/parser.rs index b317223fc4..17a1e2b3e6 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -594,6 +594,10 @@ fn handle_escaped_unicode<'a, 'p, I>( ); } } + + // We are now done processing the unicode portion of the string, + // so exit the loop without further advancing the iterator. + return; } else { hex_str.push(hex_char) }