mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-09 12:05:52 +01:00
Recognise closing paren as a delimiter in linkifyHelp.
--HG-- branch : key-processing
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user