We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b08ce56 + e562165 commit f22cec1Copy full SHA for f22cec1
app/components/markdown.tsx
@@ -248,6 +248,10 @@ function escapeBrackets(text: string) {
248
249
function tryWrapHtmlCode(text: string) {
250
// try add wrap html code (fixed: html codeblock include 2 newline)
251
+ // ignore embed codeblock
252
+ if (text.includes("```")) {
253
+ return text;
254
+ }
255
return text
256
.replace(
257
/([`]*?)(\w*?)([\n\r]*?)(<!DOCTYPE html>)/g,
0 commit comments