summaryrefslogtreecommitdiff
path: root/common/modules/template.jsm
diff options
context:
space:
mode:
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))