barbarysoftware / Linkifier

A Java library to detect URLs in plain-text strings and convert them to HTML anchor tags. Inspired by linkifyjs.
https://github.com/barbarysoftware/Linkifier
MIT License
1 stars 1 forks source link

Trailing exclamation marks are included in link. #3

Closed stevemcleod closed 1 year ago

stevemcleod commented 1 year ago

eg.

Linkifier.linkify("Created by featureupvote.com!");

returns "Created by <a href='http://featureupvote.com!' target='_blank'>featureupvote.com!</a>"

stevemcleod commented 1 year ago

Related to #1

dimitriosgialas commented 1 year ago

This one is now fixed and checked in.