diff options
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 |
commit | 506abdcd85b17964f14c8925326f8685cc0f1dac (patch) | |
tree | 62e1feb6eaaa5e7fac1b7c4097f6ed3a4113f3af /common/modules/template.jsm | |
parent | 9c232118e4858c74d3070f91e096535a0cda99c6 (diff) | |
download | pentadactyl-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.jsm | 2 |
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)) |