mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +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();
|
return content.trim();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export function unescapeHtml(html: string) {
|
export function unescapeHtml(html: string) {
|
||||||
const doc = new DOMParser().parseFromString(html, 'text/html');
|
const doc = new DOMParser().parseFromString(html, 'text/html');
|
||||||
return doc.documentElement.textContent;
|
return doc.documentElement.textContent;
|
||||||
|
Loading…
Reference in New Issue
Block a user