Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

link up www2. as well as www. [#579]

  • Loading branch information...
commit ba142036989b9bbfa9d1389c3b7f600928c9fb85 1 parent e3ae970
@andrewcarpenter andrewcarpenter authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/base_extensions/actionview_extensions.rb
View
5 lib/base_extensions/actionview_extensions.rb
@@ -0,0 +1,5 @@
+# support www2. as well as www
+ActionView::Helpers::TextHelper::AUTO_LINK_RE= %r{
+ (?: ([\w+.:-]+:)// | www\d?\. )
+ [^\s<]+
+}x
Please sign in to comment.
Something went wrong with that request. Please try again.