diff --git a/src/stage_3.rs b/src/stage_3.rs index d953364..2bd2447 100644 --- a/src/stage_3.rs +++ b/src/stage_3.rs @@ -110,7 +110,7 @@ fn paragraph_parser_opener_candidates_and_links() -> impl Parser< > { let token = any().map(ParagraphSegment::Token); let modifier = select! { - ParagraphSegmentToken::Special(c @ ('*' | '/' | '_' | '-')) => c, + ParagraphSegmentToken::Special(c @ ('*' | '/' | '_' | '-' | '!' | '^' | ',')) => c, }; let whitespace_or_special = select! { @@ -285,7 +285,7 @@ fn paragraph_parser_closer_candidates( let token = any(); let modifier = select! { - Token(ParagraphSegmentToken::Special(c @ ('*' | '/' | '_' | '-'))) => c, + Token(ParagraphSegmentToken::Special(c @ ('*' | '/' | '_' | '-' | '!' | '^' | ','))) => c, }; let whitespace_or_special = select! { @@ -579,10 +579,7 @@ fn detached_modifier_extensions() -> impl Parser< .or_not() .map(|tokens| { if let Some(tokens) = tokens { - tokens - .into_iter() - .map_into::() - .collect() + tokens.into_iter().map_into::().collect() } else { String::from("") }