Fix sources format
Browse files
chat-ui/src/lib/components/chat/ChatMessage.svelte
CHANGED
|
@@ -176,7 +176,7 @@
|
|
| 176 |
src="https://www.google.com/s2/favicons?sz=64&domain_url={hostname}"
|
| 177 |
alt="{title} favicon"
|
| 178 |
/>
|
| 179 |
-
<div>{hostname.replace(/^www\./, "")
|
| 180 |
</a>
|
| 181 |
{/each}
|
| 182 |
</div>
|
|
|
|
| 176 |
src="https://www.google.com/s2/favicons?sz=64&domain_url={hostname}"
|
| 177 |
alt="{title} favicon"
|
| 178 |
/>
|
| 179 |
+
<div>{title.length > 20 ? title.slice(0, 20)+'...' : title}</div><!--/*hostname.replace(/^www\./, "")*/-->
|
| 180 |
</a>
|
| 181 |
{/each}
|
| 182 |
</div>
|