aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/text_helper.rb
diff options
context:
space:
mode:
authorEugene Pimenov <libc@rghost.net>2008-05-01 09:37:10 +0400
committerPratik Naik <pratiknaik@gmail.com>2008-05-16 13:00:39 +0100
commit150717344aa5c6d8f46fc67de39d6947553ac286 (patch)
tree12523f30770c8b7d0071982f36c55d98057705d5 /actionpack/lib/action_view/helpers/text_helper.rb
parent3baf810482303126c75daa7915e200030d1755e0 (diff)
downloadrails-150717344aa5c6d8f46fc67de39d6947553ac286.tar.gz
rails-150717344aa5c6d8f46fc67de39d6947553ac286.tar.bz2
rails-150717344aa5c6d8f46fc67de39d6947553ac286.zip
auto_link helper fails to recognize links separated by space. [#72 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'actionpack/lib/action_view/helpers/text_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/text_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionpack/lib/action_view/helpers/text_helper.rb
index 9d220c546a..55d2a68327 100644
--- a/actionpack/lib/action_view/helpers/text_helper.rb
+++ b/actionpack/lib/action_view/helpers/text_helper.rb
@@ -454,7 +454,7 @@ module ActionView
( # leading text
<\w+.*?>| # leading HTML tag, or
[^=!:'"/]| # leading punctuation, or
- ^ # beginning of line
+ | # nothing
)
(
(?:https?://)| # protocol spec, or