Clean reserved words
This commit is contained in:
parent
a2e5d07976
commit
e767f77bce
@ -107,8 +107,8 @@ Linkify =
|
||||
|
||||
# Clean end of range
|
||||
i = 0
|
||||
while /[)\]}>.,]/.test char = text.charAt text.length - (1 + i)
|
||||
break unless /[.,]/.test(char) or (text.match /[()\[\]{}<>]/g).length % 2
|
||||
while /[)\]}>.,]/.test t = text.charAt text.length - (1 + i)
|
||||
break unless /[.,]/.test(t) or (text.match /[()\[\]{}<>]/g).length % 2
|
||||
i++
|
||||
|
||||
if i
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user