From c23afc7f55bab1ed63297b68e5a55bbdc06b8ac3 Mon Sep 17 00:00:00 2001 From: ef3d0c3e Date: Mon, 26 Aug 2024 12:38:43 +0200 Subject: [PATCH] Fix regex --- src/elements/blockquote.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elements/blockquote.rs b/src/elements/blockquote.rs index 2e4b226..6b6af34 100644 --- a/src/elements/blockquote.rs +++ b/src/elements/blockquote.rs @@ -201,7 +201,7 @@ impl BlockquoteRule { ); Self { - start_re: Regex::new(r"(?:^|\n)>(?:\[((?:\\.|[^\\\\])*?)\])?\s*(.*)").unwrap(), + start_re: Regex::new(r"(?:^|\n)>(?:\[((?:\\.|[^\\\\])*?)\])?\s*?(.*)").unwrap(), continue_re: Regex::new(r"(?:^|\n)>\s*?(.*)").unwrap(), properties: PropertyParser { properties: props }, }