Commit 47c90037 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Allow brackets and ampersands in URLs.

parent 3c607a6e
...@@ -1347,7 +1347,7 @@ function gotPermissions(perms) { ...@@ -1347,7 +1347,7 @@ function gotPermissions(perms) {
displayMessage("Press Present to enable your camera or microphone"); 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 * @param {string} line
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment