mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
fix frontend format
This commit is contained in:
parent
de735b3c8c
commit
f72490093a
1 changed files with 0 additions and 1 deletions
|
|
@ -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 a new issue