diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte
index ab7e41f6b..39dea3337 100644
--- a/src/lib/components/chat/Chat.svelte
+++ b/src/lib/components/chat/Chat.svelte
@@ -2085,7 +2085,7 @@
-
+
+ import DOMPurify from 'dompurify';
+
import { toast } from 'svelte-sonner';
+
import { v4 as uuidv4 } from 'uuid';
import { createPicker, getAuthToken } from '$lib/utils/google-drive-picker';
import { pickAndDownloadFile } from '$lib/utils/onedrive-file-picker';
@@ -595,7 +598,7 @@
/>
{:else}
+
+ {#if $config?.license_metadata?.input_footer}
+
+ {@html DOMPurify.sanitize($config?.license_metadata?.input_footer)}
+
+ {:else}
+
+ {/if}
{/if}