mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
Add anchorme() support. (#262)
This will "linkify" text inside of messages with anchor tags so they are clickable.
This commit is contained in:
Vendored
+1
File diff suppressed because one or more lines are too long
@@ -125,7 +125,7 @@ var Conversation = new Vue({
|
||||
'id': id,
|
||||
'type': msgClass,
|
||||
'date': new Date(id * 1),
|
||||
'content': twemoji.parse(escapeHTML(vals['msg']), twemojiOptions)
|
||||
'content': twemoji.parse(anchorme(escapeHTML(vals['msg'])), twemojiOptions)
|
||||
});
|
||||
buf = true;
|
||||
msgCount++;
|
||||
|
||||
Reference in New Issue
Block a user