Quick fix for 1287

This commit is contained in:
armored-dragon 2025-07-01 07:51:21 -05:00
parent 25e3dcdfef
commit 0002e4f0a1
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B

View file

@ -467,7 +467,7 @@ Rectangle {
var arrow = /\</gi
mess = mess.replace(arrow, "&lt;");
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;