From 83cfa3fea9cc3c6d4c94da2be8d376c00b76e98e Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Wed, 12 Mar 2014 23:42:32 -0700 Subject: [PATCH] Lets not even bother linkifying a comment with no links. ccd0: not committing this part for now: Also switch out some loops. --- src/Linkification/Linkify.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Linkification/Linkify.coffee b/src/Linkification/Linkify.coffee index 5ff09eeba..0b6de5bf0 100755 --- a/src/Linkification/Linkify.coffee +++ b/src/Linkification/Linkify.coffee @@ -26,6 +26,8 @@ Linkify = return + return unless Linkify.regString.test @info.comment + test = /[^\s'"]+/g space = /[\s'"]/