mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -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'))) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user