Improve split link detection of f8961720e0819be966fa090e2a78385b0766c3d0.
This commit is contained in:
parent
7d0bc85153
commit
2cb2984331
@ -46,7 +46,7 @@ Linkify =
|
|||||||
|
|
||||||
while (saved = snapshot.snapshotItem i++)
|
while (saved = snapshot.snapshotItem i++)
|
||||||
if saved.nodeName is 'BR'
|
if saved.nodeName is 'BR'
|
||||||
if snapshot.snapshotItem(i)?.data?.match /^\.[a-z]{2,6}\//i # link deliberately split
|
if /^(https?:\/\/)?[a-z0-9\-\.]+$/i.test(word) and snapshot.snapshotItem(i)?.data?.match(/^(\.[a-z0-9\-]+)*\//i) # link deliberately split
|
||||||
continue
|
continue
|
||||||
else
|
else
|
||||||
break
|
break
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user