Fix linkifier regex to not accept ellipses as links

This commit is contained in:
seaweedchan 2013-08-15 01:43:51 -07:00
parent b9581dd428
commit 2a8e03dc21
4 changed files with 6 additions and 826 deletions

View File

@ -1,5 +1,5 @@
/*
* 4chan X - Version 1.2.28 - 2013-08-14
* 4chan X - Version 1.2.28 - 2013-08-15
*
* Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -10,7 +10,7 @@ Linkify =
)
|
# This should account for virtually all links posted without http:
[-a-z\d.]+[.](
[-a-z\d]+[.](
aero|asia|biz|cat|com|coop|info|int|jobs|mobi|museum|name|net|org|post|pro|tel|travel|xxx|edu|gov|mil|[a-z]{2}
)(/|(?!.))
|