Egor Kislitsyn
14b8f39160
Disable `strip_prefix` by default
4 years ago
Egor Kislitsyn
66f5165655
Do not add `class`, `target` and `rel` attributes by default
4 years ago
Egor Kislitsyn
2690f2b680
Rename to Linkify
4 years ago
Egor Kislitsyn
093d2344d2
Refactor parser
Refactor parser
4 years ago
Egor Kislitsyn
529014c8f4
Drop phone links support
4 years ago
Egor Kislitsyn
150d9f222f
Remove `scheme` setting
4 years ago
Egor Kislitsyn
6242cebdf9
Use double quotes in HTML attributes
4 years ago
Egor Kislitsyn
f081e6b553
Remove markdown links support
4 years ago
rinpatch
70cbfdc84e
Extend email? to utilize validate_tld
4 years ago
rinpatch
c19c7afa5b
Refactor url?/2 to use opts
4 years ago
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
4 years ago
Egor Kislitsyn
cef4fe335c
Improve parsing links inside parentheses and some refactoring
4 years ago
Egor Kislitsyn
0e6869c9ea
Fix tld validation
5 years ago
Egor Kislitsyn
7394548119
test coverage 100%! 🎉
5 years ago
Egor Kislitsyn
55636e8593
fix links inside nested html
5 years ago
Egor Kislitsyn
a6e8755863
do not link inside `<pre>` and `<code>`
5 years ago
Egor Kislitsyn
02d7cb1eba
fix test
5 years ago
Egor Kislitsyn
4949c02cb6
fix parsing inside HTML tags
5 years ago
Egor
12f8ca5319
Improve detection of URLs and Asian scripts
5 years ago
Egor Kislitsyn
50882b427a
support Telugu and probably other Asian scripts ( #3 )
5 years ago
Egor Kislitsyn
e862ee9d21
improve parsing ( #2 )
5 years ago
Egor
37c5c3bdd1
Improve CI
5 years ago
Egor Kislitsyn
df6f5dcab6
fix credo warnings
5 years ago
Haelwenn (lanodan) Monnier
4dae1eadd5
AutoLinker.BuilderTest: Add forgotten assert on format_mention/3
5 years ago
Haelwenn (lanodan) Monnier
bdd98ee731
AutoLinker.BuilderTest: Do not pass overridden href to create_link/2
5 years ago
Haelwenn (lanodan) Monnier
204ad610e3
AutoLinker.BuilderTest: Match (strange) behaviour
5 years ago
Haelwenn (lanodan) Monnier
a4184277d0
AutoLinker.BuilderTest: Put tests on all the public functions
5 years ago
Egor
e5abcd66b1
Improve hashtags and `rel` attribute
5 years ago
Egor Kislitsyn
d6a0318275
add optional rel attribute handler
5 years ago
Egor Kislitsyn
3ceaf266da
support French
5 years ago
Egor Kislitsyn
ab58d24c03
do not match hashtags consisting entirely of numbers
5 years ago
Egor
9fb01942df
fix carriage return
5 years ago
Egor
23bb7d68f0
fix carriage return
5 years ago
egor
bd9ebce30e
Small fixes and improvements
5 years ago
Egor Kislitsyn
056d7f2f37
improve mentions matching
5 years ago
Egor Kislitsyn
8f7496b1d3
fix mentions and hashtags
5 years ago
Egor Kislitsyn
558a7e9f9a
improve hashtags
5 years ago
Egor Kislitsyn
6c7a0c1363
use quotemarks in html
5 years ago
Egor Kislitsyn
ed43edc636
make tests async
5 years ago
Egor Kislitsyn
49e9150bdc
better naming
5 years ago
Egor Kislitsyn
48aed6ba61
rename link_and_parse -> link_map
5 years ago
Egor Kislitsyn
4da0c84ba1
add custom handlers for mentions and hashtags
5 years ago
Egor Kislitsyn
479acfb82d
add email, @mentions , #hashtags and extra schemes
5 years ago
Egor Kislitsyn
35810b945e
add TLD validation support
5 years ago
Egor Kislitsyn
34e4e2f953
add formatter
5 years ago
Stephen M. Pallen
0d72ff37a4
fix regression with phone and markdown
6 years ago
Stephen M. Pallen
4d5182ec1f
added support for markdown style links
6 years ago
Stephen M. Pallen
6c56eb91ef
fixed a number of phone number failures
6 years ago
Stephen M. Pallen
80b9b85040
add phone number linking
6 years ago
Stephen M. Pallen
b30df6cb37
fix double dot issue
7 years ago