mint
76b0923033
Fix tests for added domains
...
This fixes tests from previous commit by replacing i2p/loki with random
but still valid Handshake domains (porkbun.com/handshake)
2023-01-10 16:23:16 +01:00
tusooa
0e62e64339
Allow double dots in links
2022-12-28 12:15:35 -05:00
Haelwenn (lanodan) Monnier
8505286703
Make repository REUSE compliant
2022-07-10 08:47:13 +02:00
Mark Felder
e004539a54
Auto linking of IP addresses requires a scheme has been provided
2021-01-27 17:42:09 -06:00
Haelwenn (lanodan) Monnier
649fc9125d
parser: Validate IPv6, IDN compatibility in email and mentions
2020-11-19 17:42:34 +00:00
Haelwenn (lanodan) Monnier
26f5310379
parser: Add onion as an extra TLD
2020-11-19 17:42:34 +00:00
Sergey Suprunenko
7005cda9e4
Handle punctuation marks and new lines
2020-10-06 21:49:00 +02:00
Sergey Suprunenko
74afaca73b
Handle punctuation marks and angle bracket in the end of a link
2020-10-06 21:43:35 +02:00
Sergey Suprunenko
e5a8cf2b08
Do not parse html links inside html tags
2020-10-06 21:43:04 +02:00
Egor Kislitsyn
14b8f39160
Disable strip_prefix
by default
2019-07-11 20:08:30 +07:00
Egor Kislitsyn
66f5165655
Do not add class
, target
and rel
attributes by default
2019-06-27 15:32:07 +07:00
Egor Kislitsyn
2690f2b680
Rename to Linkify
2019-06-24 17:57:31 +07:00
Egor Kislitsyn
093d2344d2
Refactor parser
...
Refactor parser
2019-06-21 20:09:52 +07:00
Egor Kislitsyn
529014c8f4
Drop phone links support
2019-06-21 19:05:47 +07:00
rinpatch
70cbfdc84e
Extend email? to utilize validate_tld
2019-06-18 13:25:44 +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
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
7394548119
test coverage 100%! 🎉
2019-04-09 15:03: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
02d7cb1eba
fix test
2019-04-09 13:20:48 +07:00
Egor Kislitsyn
4949c02cb6
fix parsing inside HTML tags
2019-04-09 13:08:13 +07:00
Egor
9fb01942df
fix carriage return
2019-02-20 17:37:20 +07:00
Egor Kislitsyn
6c7a0c1363
use quotemarks in html
2019-02-18 18:34:38 +07:00
Egor Kislitsyn
ed43edc636
make tests async
2019-02-08 17:57:54 +07:00
Egor Kislitsyn
34e4e2f953
add formatter
2019-02-05 18:22:51 +07:00
Stephen M. Pallen
6c56eb91ef
fixed a number of phone number failures
2018-01-19 19:22:07 -05:00
Stephen M. Pallen
80b9b85040
add phone number linking
2017-11-17 13:36:37 -05:00
Stephen M. Pallen
b30df6cb37
fix double dot issue
2017-04-06 19:59:31 -04:00
Stephen M. Pallen
59d41265fc
prep for first release
2017-03-29 16:27:13 -04:00