Forgot to amend
This commit is contained in:
parent
8429c60d30
commit
c2bf431df6
@ -4481,7 +4481,7 @@
|
||||
if (Linkify.regString.exec(word)) {
|
||||
links.push(Linkify.makeRange(node, endNode, index, length));
|
||||
}
|
||||
if (!(test.lastIndex || node === endNode)) {
|
||||
if (!(test.lastIndex && node === endNode)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -4490,7 +4490,7 @@
|
||||
if (Linkify.regString.exec(word)) {
|
||||
links.push(Linkify.makeRange(node, endNode, index, length));
|
||||
}
|
||||
if (!(test.lastIndex || node === endNode)) {
|
||||
if (!(test.lastIndex && node === endNode)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -78,7 +78,7 @@ Linkify =
|
||||
if Linkify.regString.exec word
|
||||
links.push Linkify.makeRange node, endNode, index, length
|
||||
|
||||
break unless test.lastIndex or node is endNode
|
||||
break unless test.lastIndex and node is endNode
|
||||
|
||||
for link in links.reverse()
|
||||
@nodes.links.push Linkify.makeLink link, @
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user