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))