Skip to content

Commit 21ec92a

Browse files
committed
Merge branch '1.2.x'
2 parents f2884a9 + 9310777 commit 21ec92a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/src/pages/chatPreview/utils/marked-process.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ export const markedProcess = (content) => {
1717
tool: [],
1818
step: []
1919
},
20+
escapeHtml: (html: string) => {
21+
return html;
22+
},
2023
};
2124
const clean = xss(content, config);
2225
return marked(clean, {
@@ -27,4 +30,4 @@ export const markedProcess = (content) => {
2730
}
2831
}
2932
})
30-
};
33+
};

0 commit comments

Comments
 (0)