mirror of
https://github.com/open-webui/open-webui
synced 2025-06-16 19:31:52 +00:00
refac
This commit is contained in:
parent
fe69189dc9
commit
ec81e98fa2
@ -1,5 +1,6 @@
|
||||
<script lang="ts">
|
||||
import DOMPurify from 'dompurify';
|
||||
import { marked } from 'marked';
|
||||
|
||||
import { toast } from 'svelte-sonner';
|
||||
|
||||
@ -1526,7 +1527,7 @@
|
||||
|
||||
{#if $config?.license_metadata?.input_footer}
|
||||
<div class=" text-xs text-gray-500 text-center line-clamp-1">
|
||||
{@html DOMPurify.sanitize($config?.license_metadata?.input_footer)}
|
||||
{@html DOMPurify.sanitize(marked($config?.license_metadata?.input_footer))}
|
||||
</div>
|
||||
{:else}
|
||||
<div class="mb-1" />
|
||||
|
Loading…
Reference in New Issue
Block a user