summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
17445a4)
sanitizer will strip the rel=nofollow attributes.
module ApplicationHelper
def htmlize(text)
module ApplicationHelper
def htmlize(text)
- return sanitize(auto_link(simple_format(text), :link => :urls, :html => { :rel => "nofollow" }))
+ return auto_link(sanitize(simple_format(text)), :link => :urls, :html => { :rel => "nofollow" })
end
def html_escape_unicode(text)
end
def html_escape_unicode(text)