Allow brackets and ampersands in URLs.

This commit is contained in:
Juliusz Chroboczek
2020-11-09 00:11:55 +01:00
parent 3c607a6e72
commit 47c90037f3
+1 -1
View File
@@ -1347,7 +1347,7 @@ function gotPermissions(perms) {
displayMessage("Press Present to enable your camera or microphone");
}
const urlRegexp = /https?:\/\/[-a-zA-Z0-9@:%/._\\+~#=?]+[-a-zA-Z0-9@:%/_\\+~#=]/g;
const urlRegexp = /https?:\/\/[-a-zA-Z0-9@:%/._\\+~#&()=?]+[-a-zA-Z0-9@:%/_\\+~#&()=]/g;
/**
* @param {string} line