mirror of
				https://github.com/Yidadaa/ChatGPT-Next-Web.git
				synced 2025-10-31 21:59:19 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -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("<!DOCTYPE")) { | ||||
|       setHtmlCode(refText); | ||||
|     } | ||||
|   }, 600); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user