Skip to content

Commit cd240f4

Browse files
committed
(fix) add only fully match links
1 parent 1ba5afb commit cd240f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ChatWindow/Message.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export default {
318318
319319
let result = { content: string }
320320
321-
if (links.length) {
321+
if (links.length && string === links[0].value) {
322322
result = {
323323
url: true,
324324
content: linkifyHtml(links[0].value, {

0 commit comments

Comments
 (0)