Skip to content

Commit

Permalink
Fix escape in titles
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed May 23, 2023
1 parent 0be7464 commit 0d005d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/construct/partial_title.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 0d005d2

Please sign in to comment.