From 7a23fe10ed8668b439408d2e8f572a0d39f65464 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Sun, 1 Sep 2024 00:31:56 +1200 Subject: [PATCH] Change blockquote markdown to require a space --- src/app/plugins/markdown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/plugins/markdown.ts b/src/app/plugins/markdown.ts index 9b3b82f7..e291b994 100644 --- a/src/app/plugins/markdown.ts +++ b/src/app/plugins/markdown.ts @@ -261,7 +261,7 @@ const CodeBlockRule: BlockMDRule = { const BLOCKQUOTE_MD_1 = '>'; const QUOTE_LINE_PREFIX = /^> */; const BLOCKQUOTE_TRAILING_NEWLINE = /\n$/; -const BLOCKQUOTE_REG_1 = /(^>.*\n?)+/m; +const BLOCKQUOTE_REG_1 = /(^>(?: .*\n?| *\n))+/m; const BlockQuoteRule: BlockMDRule = { match: (text) => text.match(BLOCKQUOTE_REG_1), html: (match, parseInline) => {