mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
Update Placeholder.svelte
This commit is contained in:
parent
9d37350b97
commit
135b57ca8e
@ -153,7 +153,7 @@
|
|||||||
<Tooltip
|
<Tooltip
|
||||||
className=" w-fit"
|
className=" w-fit"
|
||||||
content={marked.parse(
|
content={marked.parse(
|
||||||
sanitizeResponseContent(models[selectedModelIdx]?.info?.meta?.description ?? '')
|
sanitizeResponseContent(models[selectedModelIdx]?.info?.meta?.description ?? '').replaceAll('\n', '<br>')
|
||||||
)}
|
)}
|
||||||
placement="top"
|
placement="top"
|
||||||
>
|
>
|
||||||
@ -161,7 +161,7 @@
|
|||||||
class="mt-0.5 px-2 text-sm font-normal text-gray-500 dark:text-gray-400 line-clamp-2 max-w-xl markdown"
|
class="mt-0.5 px-2 text-sm font-normal text-gray-500 dark:text-gray-400 line-clamp-2 max-w-xl markdown"
|
||||||
>
|
>
|
||||||
{@html marked.parse(
|
{@html marked.parse(
|
||||||
sanitizeResponseContent(models[selectedModelIdx]?.info?.meta?.description)
|
sanitizeResponseContent(models[selectedModelIdx]?.info?.meta?.description ?? '').replaceAll('\n', '<br>')
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
Loading…
Reference in New Issue
Block a user