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