From 506abdcd85b17964f14c8925326f8685cc0f1dac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= Date: Tue, 25 Jan 2011 00:24:22 +0100 Subject: [PATCH] Recognise closing paren as a delimiter in linkifyHelp. --HG-- branch : key-processing --- common/modules/template.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/modules/template.jsm b/common/modules/template.jsm index 8948ec89..902d6f04 100644 --- a/common/modules/template.jsm +++ b/common/modules/template.jsm @@ -339,7 +339,7 @@ var Template = Module("Template", { let re = util.regexp( [/\s]|^) (?P '[\w-]+' | :(?:[\w-]+|!) | (?:._)?<[\w-]+> ) - (?= [[!,;./\s]|$) + (?= [[\)!,;./\s]|$) ]]>, "g"); return this.highlightSubstrings(str, (function () { for (let res in re.iterate(str))