Support links split between 'domain' and '.tld/path'.

This commit is contained in:
ccd0 2015-10-03 19:33:47 -07:00
parent 33c73b5a0c
commit f8961720e0

View File

@ -46,7 +46,10 @@ Linkify =
while (saved = snapshot.snapshotItem i++)
if saved.nodeName is 'BR'
break
if snapshot.snapshotItem(i)?.data?.match /^\.[a-z]{2,6}\//i # link deliberately split
continue
else
break
endNode = saved
{data} = saved