diff options
Diffstat (limited to '')
-rw-r--r-- | src/construct/label_start_link.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/construct/label_start_link.rs b/src/construct/label_start_link.rs index e079b2d..3aeb68b 100644 --- a/src/construct/label_start_link.rs +++ b/src/construct/label_start_link.rs @@ -43,7 +43,8 @@ use crate::tokenizer::{LabelStart, Tokenizer}; /// ^ /// ``` pub fn start(tokenizer: &mut Tokenizer) -> State { - if tokenizer.parse_state.constructs.label_start_link && tokenizer.current == Some(b'[') { + if tokenizer.parse_state.options.constructs.label_start_link && tokenizer.current == Some(b'[') + { let start = tokenizer.events.len(); tokenizer.enter(Name::LabelLink); tokenizer.enter(Name::LabelMarker); |