diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/text/elements/link.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/text/elements/link.js b/src/common/text/elements/link.js index 3e7f1e5d13..35563ddc3d 100644 --- a/src/common/text/elements/link.js +++ b/src/common/text/elements/link.js @@ -3,7 +3,7 @@ */ module.exports = text => { - const match = text.match(/^\??\[([^\[\]]+?)\]\((https?:\/\/[\w\/:%#@\$&\?!\(\)\[\]~\.=\+\-]+)\)/); + const match = text.match(/^\??\[([^\[\]]+?)\]\((https?:\/\/[\w\/:%#@\$&\?!\(\)\[\]~\.=\+\-]+?)\)/); if (!match) return null; const silent = text[0] == '?'; const link = match[0]; |