mirror of
https://github.com/open-webui/open-webui
synced 2025-01-19 09:16:44 +00:00
fix frontend format
This commit is contained in:
parent
de735b3c8c
commit
f72490093a
@ -74,7 +74,6 @@ export const processResponseContent = (content: string) => {
|
||||
return content.trim();
|
||||
};
|
||||
|
||||
|
||||
export function unescapeHtml(html: string) {
|
||||
const doc = new DOMParser().parseFromString(html, 'text/html');
|
||||
return doc.documentElement.textContent;
|
||||
|
Loading…
Reference in New Issue
Block a user