diff --git a/web/src/labs/marked/parser/Blockquote.tsx b/web/src/labs/marked/parser/Blockquote.tsx index 5d1daf48..535c7ddc 100644 --- a/web/src/labs/marked/parser/Blockquote.tsx +++ b/web/src/labs/marked/parser/Blockquote.tsx @@ -1,3 +1,5 @@ +import { inlineElementParserList } from "."; +import { marked } from ".."; import { matcher } from "../matcher"; export const BLOCKQUOTE_REG = /^> ([^\n]+)/; @@ -8,7 +10,8 @@ const renderer = (rawStr: string) => { return <>{rawStr}>; } - return
{matchResult[1]}; + const parsedContent = marked(matchResult[1], [], inlineElementParserList); + return
{parsedContent}; }; export default {