diff --git a/src/backend/html_markdown.py b/src/backend/html_markdown.py index ecdb303c..13ccd824 100644 --- a/src/backend/html_markdown.py +++ b/src/backend/html_markdown.py @@ -183,9 +183,9 @@ class HTMLProcessor: inline_quote_regex = re.compile(r"(^|⏎|>)(\s*>[^⏎\n]*)", re.MULTILINE) quote_regex = re.compile( - r"(^||||)" + r"(^|||||)" r"(\s*>.*?)" - r"(|?p>||?h\d>|$)", + r"(|?p>||?h\d>||$)", re.MULTILINE, )
||)" + r"(^|||||)" r"(\s*>.*?)" - r"(|?p>||?h\d>|$)", + r"(|?p>||?h\d>||$)", re.MULTILINE, )
|||)" r"(\s*>.*?)" - r"(|?p>||?h\d>|$)", + r"(|?p>||?h\d>||$)", re.MULTILINE, )