diff --git a/app/components/markdown.tsx b/app/components/markdown.tsx index d5728bf5e..fa8d12c40 100644 --- a/app/components/markdown.tsx +++ b/app/components/markdown.tsx @@ -76,6 +76,8 @@ export function PreCode(props: { children: any }) { const htmlDom = ref.current.querySelector("code.language-html"); if (htmlDom) { setHtmlCode((htmlDom as HTMLElement).innerText); + } else if (refText?.startsWith("