mirror of
https://github.com/overte-org/overte.git
synced 2025-08-13 08:56:02 +02:00
Quick fix for 1287
This commit is contained in:
parent
25e3dcdfef
commit
0002e4f0a1
1 changed files with 1 additions and 1 deletions
|
@ -467,7 +467,7 @@ Rectangle {
|
|||
var arrow = /\</gi
|
||||
mess = mess.replace(arrow, "<");
|
||||
|
||||
var link = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/g;
|
||||
var link = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&=,\/]*)/g;
|
||||
mess = mess.replace(link, (match) => {return `<a style="color:#4EBAFD" href='` + match + `?noOpen=true'>` + match + `</a> <a href='` + match + `'>🗗</a>`});
|
||||
|
||||
var newline = /\n/gi;
|
||||
|
|
Loading…
Reference in a new issue