diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-09-05 16:06:02 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-09-05 16:06:02 +0200 |
commit | 1ba9f2c632fb6c9e57f8ad2213894d4f1235677d (patch) | |
tree | dcf50fb7277239cda442000db150d910bfe9964a /src/construct/raw_flow.rs | |
parent | 57673d17336371ca5a98cd8d0ce2b01137b43431 (diff) | |
download | markdown-rs-1ba9f2c632fb6c9e57f8ad2213894d4f1235677d.tar.gz markdown-rs-1ba9f2c632fb6c9e57f8ad2213894d4f1235677d.tar.bz2 markdown-rs-1ba9f2c632fb6c9e57f8ad2213894d4f1235677d.zip |
Add support for `mailto:`, `xmpp:` protocols
Diffstat (limited to 'src/construct/raw_flow.rs')
-rw-r--r-- | src/construct/raw_flow.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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 { |