mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 21:42:30 +02:00
Recognise closing paren as a delimiter in linkifyHelp.
--HG-- branch : key-processing
This commit is contained in:
1 parent
9c232118e4
commit
506abdcd85
1 file changed
+1
-1
@@ -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