projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
634565c
)
Make rel=nofollow actually work - when in doubt trust the source as
author
Tom Hughes
<tom@compton.nu>
Sat, 14 Nov 2009 16:15:26 +0000
(16:15 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sat, 14 Nov 2009 16:15:26 +0000
(16:15 +0000)
the rails documentation speaks with forked tongue.
app/helpers/application_helper.rb
patch
|
blob
|
history
diff --git
a/app/helpers/application_helper.rb
b/app/helpers/application_helper.rb
index 9d2ae0071fe23b6e0472291d2244e3c44535d717..2eebec1708378663a5bc4f67ad828ec5dd847da9 100644
(file)
--- a/
app/helpers/application_helper.rb
+++ b/
app/helpers/application_helper.rb
@@
-1,6
+1,6
@@
module ApplicationHelper
def htmlize(text)
- return sanitize(auto_link(simple_format(text), :link => :urls, :h
ref_options
=> { :rel => "nofollow" }))
+ return sanitize(auto_link(simple_format(text), :link => :urls, :h
tml
=> { :rel => "nofollow" }))
end
def html_escape_unicode(text)