Fix linkifier regex to not accept ellipses as links
This commit is contained in:
parent
b9581dd428
commit
2a8e03dc21
2
LICENSE
2
LICENSE
@ -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
@ -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}
|
||||
)(/|(?!.))
|
||||
|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user