Skip to content

Commit

Permalink
Rack has an escape_html method, not Rake
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Rozet <simon@rozet.name>
  • Loading branch information
atmos authored and sr committed May 12, 2009
1 parent 279f6df commit e30cd31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions.markdown
Expand Up @@ -113,7 +113,7 @@ require 'sinatra/base'
module Sinatra
module HTMLEscapeHelper
def h(text)
Rake::Utils.escape_html(text)
Rack::Utils.escape_html(text)
end
end

Expand Down

0 comments on commit e30cd31

Please sign in to comment.