From 1ba9f2c632fb6c9e57f8ad2213894d4f1235677d Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 5 Sep 2022 16:06:02 +0200 Subject: Add support for `mailto:`, `xmpp:` protocols --- src/construct/raw_flow.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/construct/raw_flow.rs') diff --git a/src/construct/raw_flow.rs b/src/construct/raw_flow.rs index 395d0ae..105a031 100644 --- a/src/construct/raw_flow.rs +++ b/src/construct/raw_flow.rs @@ -252,8 +252,7 @@ pub fn sequence_open(tokenizer: &mut Tokenizer) -> State { tokenizer.tokenize_state.size += 1; tokenizer.consume(); State::Next(StateName::RawFlowSequenceOpen) - } - else if tokenizer.tokenize_state.size + } else if tokenizer.tokenize_state.size < (if tokenizer.tokenize_state.marker == b'$' { MATH_FLOW_SEQUENCE_SIZE_MIN } else { -- cgit