diff --git a/nginx/vue/src/components/util/Chat.vue b/nginx/vue/src/components/util/Chat.vue index c1610db..3b3a4f8 100644 --- a/nginx/vue/src/components/util/Chat.vue +++ b/nginx/vue/src/components/util/Chat.vue @@ -57,7 +57,10 @@ function parseMessageParts(text) { let match; while ((match = urlRegex.exec(text)) !== null) { if (match.index > lastIndex) { - parts.push({ type: "text", value: text.slice(lastIndex, match.index) }); + parts.push({ + type: "text", + value: text.slice(lastIndex, match.index), + }); } parts.push({ type: "link", value: match[1] }); lastIndex = urlRegex.lastIndex; @@ -85,8 +88,18 @@ onUnmounted(() => { >

{{ message.authorId }}: -