Skip to content

Commit 253f416

Browse files
committed
refac
1 parent 53eadb7 commit 253f416

5 files changed

Lines changed: 376 additions & 338 deletions

File tree

src/lib/components/chat/ChatPlaceholder.svelte

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,13 @@
9797
<div
9898
class="mt-0.5 text-base font-normal text-gray-500 dark:text-gray-400 line-clamp-3 markdown"
9999
>
100-
{@html DOMPurify.sanitize(marked.parse(
101-
sanitizeResponseContent(
102-
models[selectedModelIdx]?.info?.meta?.description
103-
).replaceAll('\n', '<br>')
104-
))}
100+
{@html DOMPurify.sanitize(
101+
marked.parse(
102+
sanitizeResponseContent(
103+
models[selectedModelIdx]?.info?.meta?.description
104+
).replaceAll('\n', '<br>')
105+
)
106+
)}
105107
</div>
106108
{#if models[selectedModelIdx]?.info?.meta?.user}
107109
<div class="mt-0.5 text-sm font-normal text-gray-400 dark:text-gray-500">

0 commit comments

Comments
 (0)