From e29924c8a10ea5ebbd6d1c8aae0315374f10006a Mon Sep 17 00:00:00 2001 From: boojack Date: Sun, 8 Jan 2023 11:24:28 +0800 Subject: [PATCH] fix: codeblock renderer (#924) --- web/src/labs/marked/parser/CodeBlock.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/labs/marked/parser/CodeBlock.tsx b/web/src/labs/marked/parser/CodeBlock.tsx index 231033ca..f1d7912c 100644 --- a/web/src/labs/marked/parser/CodeBlock.tsx +++ b/web/src/labs/marked/parser/CodeBlock.tsx @@ -38,7 +38,7 @@ const renderer = (rawStr: string) => { > copy - {highlightedCode} + ); };