summaryrefslogtreecommitdiff
path: root/common/modules/template.jsm
diff options
context:
space:
mode:
authorŠtěpán Němec <stepnem@gmail.com>2011-01-25 00:24:22 +0100
committerŠtěpán Němec <stepnem@gmail.com>2011-01-25 00:24:22 +0100
commit506abdcd85b17964f14c8925326f8685cc0f1dac (patch)
tree62e1feb6eaaa5e7fac1b7c4097f6ed3a4113f3af /common/modules/template.jsm
parent9c232118e4858c74d3070f91e096535a0cda99c6 (diff)
downloadpentadactyl-506abdcd85b17964f14c8925326f8685cc0f1dac.tar.gz
Recognise closing paren as a delimiter in linkifyHelp.
--HG-- branch : key-processing
Diffstat (limited to 'common/modules/template.jsm')
-rw-r--r--common/modules/template.jsm2
1 files changed, 1 insertions, 1 deletions
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(<![CDATA[
(?P<pre> [/\s]|^)
(?P<tag> '[\w-]+' | :(?:[\w-]+|!) | (?:._)?<[\w-]+> )
- (?= [[!,;./\s]|$)
+ (?= [[\)!,;./\s]|$)
]]>, "g");
return this.highlightSubstrings(str, (function () {
for (let res in re.iterate(str))