Categories: None [Edit]

gr_autolink

https://rubygems.org/gems/gr_autolink
https://github.com/goodreads/gr_autolink
This is an adaptation of the extraction of the `auto_link` method from rails that is the rails_autolink gem. The `auto_link` method was removed from Rails in version Rails 3.1. This gem is meant to bridge the gap for people migrating...and behaves a little differently from the parent gem we forked from: * performs html-escaping of characters such as '&' in strings that are getting linkified if the incoming string is not html_safe? * retains html-safety of incoming string (if input string is unsafe, will return unsafe and vice versa) * fixes at least one bug: ( => http://some.u.rl">) though can't imagine this is intended behavior, also have trouble believing that this was an open bug in rails...

Total

Ranking: 48,079 of 186,995
Downloads: 22,565

Daily

Ranking: 54,398 of 186,959
Downloads: 11

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,144,415,803rack
161,055,884,353minitest
43659,156,892rails
129320,126,913arel

Owners

#GravatarHandle
1iconbmpercy
2iconvirgoproz
3icongr_mw