mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 00:30:51 +00:00
refac
This commit is contained in:
parent
a7f543d737
commit
8a3c9b9a3e
@ -72,8 +72,6 @@
|
|||||||
}}
|
}}
|
||||||
on:code={(e) => {
|
on:code={(e) => {
|
||||||
const { lang, code } = e.detail;
|
const { lang, code } = e.detail;
|
||||||
console.log('lang', lang);
|
|
||||||
console.log('code', code);
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
(['html', 'svg'].includes(lang) || (lang === 'xml' && code.includes('svg'))) &&
|
(['html', 'svg'].includes(lang) || (lang === 'xml' && code.includes('svg'))) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user