From 51658f8a0e384ea11032a44f0e0d544cab23c56e Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 7 Dec 2014 04:13:57 -0800 Subject: [PATCH] Fix nondetection of plain domain names when followed by space. --- src/Linkification/Linkify.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Linkification/Linkify.coffee b/src/Linkification/Linkify.coffee index 3364d8286..35addf319 100755 --- a/src/Linkification/Linkify.coffee +++ b/src/Linkification/Linkify.coffee @@ -90,7 +90,7 @@ Linkify = | # This should account for virtually all links posted without http: ([-a-z\d]+[.])+( aero|asia|biz|cat|com|coop|info|int|jobs|mobi|moe|museum|name|net|org|post|pro|tel|travel|xxx|edu|gov|mil|[a-z]{2} - )([:/]|(?!.)) + )([:/]|(?![^\s'"])) | # IPv4 Addresses [\d]{1,3}\.[\d]{1,3}\.[\d]{1,3}\.[\d]{1,3} | # E-mails