summaryrefslogtreecommitdiff
path: root/src/common/text/elements
diff options
context:
space:
mode:
authorsyuilo⭐️ <Syuilotan@yahoo.co.jp>2017-03-18 04:20:25 +0900
committerGitHub <noreply@github.com>2017-03-18 04:20:25 +0900
commitd5c95f014942c5f13fe4057c1c8a0b3219112bb1 (patch)
treeb4c4cd5f187074c4a6a377abede442234c10041c /src/common/text/elements
parentUpdate github.ts (diff)
downloadsharkey-d5c95f014942c5f13fe4057c1c8a0b3219112bb1.tar.gz
sharkey-d5c95f014942c5f13fe4057c1c8a0b3219112bb1.tar.bz2
sharkey-d5c95f014942c5f13fe4057c1c8a0b3219112bb1.zip
Update link.js
Diffstat (limited to 'src/common/text/elements')
-rw-r--r--src/common/text/elements/link.js2
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];