vmg / rinku

Autolinking. Ruby. Yes, that's pretty much it.
ISC License
599 stars 67 forks source link

Doesn't work if link is at the end of a sentence #18

Closed ncri closed 12 years ago

ncri commented 12 years ago

Some text, a http//link.com.

Doesn't work.

But:

Some text, a http://link.com and some more text.

Does work.

Haven't tested if only the dot is an issue or other punctuation as well

vmg commented 12 years ago

I'm afraid I cannot reproduce this locally. What version of Rinku are you using?

ncri commented 12 years ago

1.4.1

vmg commented 12 years ago

That's not quite the latest version. Version 1.5.0, which has been in Rubygems for a while, fixes this issue. Cheers!

ncri commented 12 years ago

Oops, thx ;-)