diff options
author | Titus Wormer <tituswormer@gmail.com> | 2023-05-23 16:31:43 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2023-05-23 16:31:43 +0200 |
commit | 0d005d2790b52e1c2e9f8555d97abfeb6e782536 (patch) | |
tree | 6d936dddbecc42334bbef2751985e6375ca35c2d /src/construct/partial_title.rs | |
parent | 0be7464edbd0fae379eff1e18d64bd2099651040 (diff) | |
download | markdown-rs-0d005d2790b52e1c2e9f8555d97abfeb6e782536.tar.gz markdown-rs-0d005d2790b52e1c2e9f8555d97abfeb6e782536.tar.bz2 markdown-rs-0d005d2790b52e1c2e9f8555d97abfeb6e782536.zip |
Fix escape in titles
Diffstat (limited to '')
-rw-r--r-- | src/construct/partial_title.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |