Better cleaning of beginnings of links.
This commit is contained in:
parent
2fb6eb5f45
commit
5c327555d5
@ -103,8 +103,7 @@ Linkify =
|
|||||||
text = range.toString()
|
text = range.toString()
|
||||||
|
|
||||||
# Clean start of range
|
# Clean start of range
|
||||||
i = 0
|
i = text.search Linkify.regString
|
||||||
i++ while /[(\[{<>]/.test text.charAt i
|
|
||||||
|
|
||||||
if i
|
if i
|
||||||
text = text.slice i
|
text = text.slice i
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user