From 0d005d2790b52e1c2e9f8555d97abfeb6e782536 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 23 May 2023 16:31:43 +0200 Subject: Fix escape in titles --- src/construct/partial_title.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/construct') diff --git a/src/construct/partial_title.rs b/src/construct/partial_title.rs index a12834f..cbf5653 100644 --- a/src/construct/partial_title.rs +++ b/src/construct/partial_title.rs @@ -187,7 +187,7 @@ pub fn inside(tokenizer: &mut Tokenizer) -> State { /// ``` pub fn escape(tokenizer: &mut Tokenizer) -> State { match tokenizer.current { - Some(b'"' | b'\'' | b')') => { + Some(b'"' | b'\'' | b')' | b'\\') => { tokenizer.consume(); State::Next(StateName::TitleInside) } -- cgit