1
0
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:
Greg Ross
2018-12-10 14:48:18 -05:00
committed by Loïc Blot
parent 7abea7cc9b
commit be8824b889
4 changed files with 7 additions and 1 deletions
+1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -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++;