-
Notifications
You must be signed in to change notification settings - Fork 27
Description
I found some more bugs. One in the main script and the other in the twitter plugin.
The first one is that when you got two email adresses, without the mailto: prefix, inline with the text and separated by it like this:
some text some@email.com text another@email.com text
after linkifing it concatenates both email addresses and the text between in one link like this:
some text ... text
that doesn't apply when i put mailto: in front of the email address.
One in the plugin is with hashtags. It makes links to twitter search api's out of things like
# hashtag
even though the text is separated by a space from # which actually is not a twitter hashtag then.
The other one is that, when you got more than one twitter username or hashtags in the text, only the first ones got replaced by links. So if you have
text @user1 text @user2 text #hashtag1 @user3 #hashtag2
linkfing will return links only for @user1 and #hashtag1. Others will stay as they are.