Commit graph

55 commits

Author SHA1 Message Date
Egor Kislitsyn
b044a63910 Add doc to valid_tld?/2 2019-06-21 18:27:01 +07:00
Egor Kislitsyn
150d9f222f Remove scheme setting 2019-06-21 18:09:52 +07:00
Egor Kislitsyn
f081e6b553 Remove markdown links support 2019-06-21 17:12:11 +07:00
rinpatch
70cbfdc84e Extend email? to utilize validate_tld 2019-06-18 13:25:44 +03:00
rinpatch
1a341fdac3 Move checking for validate_tld to valid_tld? 2019-06-18 13:07:14 +03:00
rinpatch
c19c7afa5b Refactor url?/2 to use opts 2019-06-18 12:57:31 +03:00
rinpatch
c8026cd16c Add an option to disable TLD validation
Added `validate_tld` option, which can be set to false to disable tld
validation and to :no_scheme to disable tld validation when a scheme is
present

Closes #8
2019-06-17 23:06:31 +03:00
Egor Kislitsyn
d9859f8aab Fix credo warnings 2019-06-12 15:33:03 +07:00
Egor Kislitsyn
cef4fe335c Improve parsing links inside parentheses and some refactoring 2019-06-12 15:27:18 +07:00
Egor Kislitsyn
0e6869c9ea Fix tld validation 2019-05-01 14:48:04 +07:00
Egor Kislitsyn
99c7ffdbe4 use MapSet instead of List 2019-04-09 18:44:05 +07:00
Egor Kislitsyn
32a6e41cd0 cleanup 2019-04-09 15:00:39 +07:00
Egor Kislitsyn
55636e8593 fix links inside nested html 2019-04-09 14:32:30 +07:00
Egor Kislitsyn
a6e8755863 do not link inside <pre> and <code> 2019-04-09 13:45:55 +07:00
Egor Kislitsyn
4949c02cb6 fix parsing inside HTML tags 2019-04-09 13:08:13 +07:00
Egor Kislitsyn
50882b427a support Telugu and probably other Asian scripts (#3) 2019-04-03 18:53:35 +07:00
Egor Kislitsyn
e862ee9d21 improve parsing (#2) 2019-04-03 18:05:11 +07:00
Egor Kislitsyn
df6f5dcab6 fix credo warnings 2019-04-03 14:57:06 +07:00
Egor Kislitsyn
82ba30c658 cleanup 2019-02-23 20:19:46 +07:00
Egor Kislitsyn
cfc6355bbe fix link text 2019-02-23 20:09:43 +07:00
Egor Kislitsyn
d6a0318275 add optional rel attribute handler 2019-02-22 17:41:23 +07:00
Egor Kislitsyn
3ceaf266da support French 2019-02-22 14:39:06 +07:00
Egor Kislitsyn
1bd56a552a update hashtag regex 2019-02-21 17:25:12 +07:00
Egor Kislitsyn
ab58d24c03 do not match hashtags consisting entirely of numbers 2019-02-21 14:30:59 +07:00
Egor
9fb01942df fix carriage return 2019-02-20 17:37:20 +07:00
Egor Kislitsyn
056d7f2f37 improve mentions matching 2019-02-18 19:06:06 +07:00
Egor Kislitsyn
8f7496b1d3 fix mentions and hashtags 2019-02-18 18:55:17 +07:00
Egor Kislitsyn
33c6754592 fix parser 2019-02-18 18:45:29 +07:00
Egor Kislitsyn
558a7e9f9a improve hashtags 2019-02-18 18:39:56 +07:00
Egor Kislitsyn
6c7a0c1363 use quotemarks in html 2019-02-18 18:34:38 +07:00
Egor Kislitsyn
b2dd560888 fix credo issues 2019-02-08 17:58:49 +07:00
Egor Kislitsyn
0f0513a5a7 improve scheme option handling 2019-02-08 17:14:33 +07:00
Egor Kislitsyn
ec8a1536a7 improve tlds import 2019-02-08 16:50:18 +07:00
Egor Kislitsyn
2266370ebf polish off api 2019-02-08 16:43:06 +07:00
Egor Kislitsyn
0110f8e9f0 better naming 2019-02-08 16:34:38 +07:00
Egor Kislitsyn
1a2629f365 add docs 2019-02-08 16:10:22 +07:00
Egor Kislitsyn
48aed6ba61 rename link_and_parse -> link_map 2019-02-08 16:10:02 +07:00
Egor Kislitsyn
4da0c84ba1 add custom handlers for mentions and hashtags 2019-02-08 15:21:07 +07:00
Egor Kislitsyn
479acfb82d add email, @mentions, #hashtags and extra schemes 2019-02-08 13:45:11 +07:00
Egor Kislitsyn
8ec0c74b3a fix markdown 2019-02-07 12:32:50 +07:00
Egor Kislitsyn
48f87d44cf hopefully fix is_valid_tld?/2 2019-02-05 21:01:45 +07:00
Egor Kislitsyn
fbfa3d0da2 cleanup 2019-02-05 20:45:47 +07:00
Egor Kislitsyn
cab2bc4452 fix IP 2019-02-05 20:39:35 +07:00
Egor Kislitsyn
35810b945e add TLD validation support 2019-02-05 18:27:58 +07:00
Egor Kislitsyn
34e4e2f953 add formatter 2019-02-05 18:22:51 +07:00
Stephen M. Pallen
0d72ff37a4 fix regression with phone and markdown 2018-01-22 20:59:52 -05:00
Stephen M. Pallen
4d5182ec1f added support for markdown style links 2018-01-22 19:46:47 -05:00
Stephen M. Pallen
6c56eb91ef fixed a number of phone number failures 2018-01-19 19:22:07 -05:00
Stephen M. Pallen
10cf319731 update parser 2017-12-10 19:37:28 -05:00
Stephen M. Pallen
80b9b85040 add phone number linking 2017-11-17 13:36:37 -05:00