Fix regex

This commit is contained in:
ef3d0c3e 2024-08-26 12:38:43 +02:00
parent ffd1903a65
commit c23afc7f55

View file

@ -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 },
}