From 351c69644bdbdf52c95e322904273657892920b5 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 22 Aug 2022 11:50:42 +0200 Subject: Add support for GFM strikethrough --- src/construct/character_escape.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/construct/character_escape.rs') diff --git a/src/construct/character_escape.rs b/src/construct/character_escape.rs index 438092e..67946a0 100644 --- a/src/construct/character_escape.rs +++ b/src/construct/character_escape.rs @@ -53,7 +53,8 @@ use crate::tokenizer::Tokenizer; /// ^ /// ``` pub fn start(tokenizer: &mut Tokenizer) -> State { - if tokenizer.parse_state.constructs.character_escape && tokenizer.current == Some(b'\\') { + if tokenizer.parse_state.options.constructs.character_escape && tokenizer.current == Some(b'\\') + { tokenizer.enter(Name::CharacterEscape); tokenizer.enter(Name::CharacterEscapeMarker); tokenizer.consume(); -- cgit