fix: < rendering issue

This commit is contained in:
Timothy Jaeryang Baek committed 2025-01-07 23:59:58 -08:00
1 parent e0054298a4
commit 0129f463b4
3 files changed
+4 -13

No files matched your search

-3
View File
@@ -74,9 +74,6 @@ export const processResponseContent = (content: string) => {
return content.trim();
};
export const revertSanitizedResponseContent = (content: string) => {
return content.replaceAll('&lt;', '<').replaceAll('&gt;', '>');
};
export function unescapeHtml(html: string) {
const doc = new DOMParser().parseFromString(html, 'text/html');