]> Sergey Matveev's repositories - public-inbox.git/commit
linkify: implement Markdown link compatibility (again)
authorEric Wong <e@80x24.org>
Tue, 6 Dec 2016 23:40:33 +0000 (23:40 +0000)
committerEric Wong <e@80x24.org>
Tue, 6 Dec 2016 23:40:57 +0000 (23:40 +0000)
commitf99f9048cdac42509fbbc1f97e2af32fa3bffca6
treef7960502ba4334dfb01163d7b1bb604ae8ba9ec6
parent52e44dc8f9e01678f309818c8ca2bc65b8285738
linkify: implement Markdown link compatibility (again)

Although unescaped parentheses in URLs are technically allowed,
they are uncommon.  However, Markdown-like syntaxes are
unfortunately common for URLs, so we might as well support them.

This fixes parentheses detection at sentence endings, as seen
in practice on emails.
lib/PublicInbox/Linkify.pm
t/linkify.t