Update ChatPlaceholder.svelte

This commit is contained in:
Classic298 2025-06-16 18:07:30 +02:00 committed by GitHub
parent 63256136ef
commit 4f9ce28a15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@
> >
<Tooltip <Tooltip
content={marked.parse( content={marked.parse(
sanitizeResponseContent(models[selectedModelIdx]?.info?.meta?.description ?? '') sanitizeResponseContent(models[selectedModelIdx]?.info?.meta?.description ?? '').replaceAll('\n', '<br>')
)} )}
placement="right" placement="right"
> >
@ -96,7 +96,7 @@
class="mt-0.5 text-base font-normal text-gray-500 dark:text-gray-400 line-clamp-3 markdown" class="mt-0.5 text-base font-normal text-gray-500 dark:text-gray-400 line-clamp-3 markdown"
> >
{@html marked.parse( {@html marked.parse(
sanitizeResponseContent(models[selectedModelIdx]?.info?.meta?.description) sanitizeResponseContent(models[selectedModelIdx]?.info?.meta?.description).replaceAll('\n', '<br>')
)} )}
</div> </div>
{#if models[selectedModelIdx]?.info?.meta?.user} {#if models[selectedModelIdx]?.info?.meta?.user}