From fde52b440245cee92354598038d6d1cf08a44540 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Fri, 30 Aug 2013 22:19:27 +0200 Subject: [PATCH] Uncomment that for xtra stability. --- src/Linkification/Linkify.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Linkification/Linkify.coffee b/src/Linkification/Linkify.coffee index caaedd069..db0e22bce 100644 --- a/src/Linkification/Linkify.coffee +++ b/src/Linkification/Linkify.coffee @@ -16,7 +16,7 @@ Linkify = range = d.createRange() for link in links boundaries = Linkify.find link, walker - # break unless boundaries + continue unless boundaries anchor = Linkify.createLink link if Linkify.surround anchor, range, boundaries if (parent = anchor.parentNode).href is anchor.href @@ -35,7 +35,7 @@ Linkify = while node = walker.nextNode() text += node.data break if text.indexOf(link) > -1 - # return unless node + return unless node startNode = endNode = node # Walk backwards to find the startNode.