diff options
Diffstat (limited to '')
-rw-r--r-- | src/construct/label_start_image.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/construct/label_start_image.rs b/src/construct/label_start_image.rs index 8d35df2..a8c9ac3 100644 --- a/src/construct/label_start_image.rs +++ b/src/construct/label_start_image.rs @@ -44,7 +44,8 @@ use crate::tokenizer::{LabelStart, Tokenizer}; /// ^ /// ``` pub fn start(tokenizer: &mut Tokenizer) -> State { - if tokenizer.parse_state.constructs.label_start_image && tokenizer.current == Some(b'!') { + if tokenizer.parse_state.options.constructs.label_start_image && tokenizer.current == Some(b'!') + { tokenizer.enter(Name::LabelImage); tokenizer.enter(Name::LabelImageMarker); tokenizer.consume(); |