diff --git a/web/src/labs/marked/parser/Blockquote.ts b/web/src/labs/marked/parser/Blockquote.ts index de18f4a2..a30fe6f1 100644 --- a/web/src/labs/marked/parser/Blockquote.ts +++ b/web/src/labs/marked/parser/Blockquote.ts @@ -1,6 +1,6 @@ import { escape } from "lodash"; -export const BLOCKQUOTE_REG = /> ([\S ]+)(\n?)/; +export const BLOCKQUOTE_REG = /^>\s+([\S ]+)(\n?)/; const renderer = (rawStr: string): string => { const matchResult = rawStr.match(BLOCKQUOTE_REG);