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: 46,220 of 180,534
Downloads: 21,304

Daily

Ranking: 31,698 of 180,529
Downloads: 6

Depended by

RankDownloadsName

Depends on

RankDownloadsName
11881,274,804rack
20803,573,354minitest
42515,999,896rails
103306,592,041arel

Owners

#GravatarHandle
1iconbmpercy
2iconvirgoproz
3icongr_mw