Fix method name at escape html FAQ block #73

Merged
merged 1 commit into from Aug 2, 2012

2 participants

@bigwheel

Rack::Utils#escape exists, but it is the method for URI escape.
The method for HTML escape is Rack::Utils#escape_html.
In refered page escape_html is also used,
please see http://www.gittr.com/index.php/archive/using-rackutils-in-sinatra-escape_html-h-in-rails/

@bigwheel bigwheel Fix method name at escape html FAQ block
Rack::Utils#escape exists, but it is the method for URI escape.
The method for HTML escape is Rack::Utils#escape_html.
In refered page escape_html is also used,
please see http://www.gittr.com/index.php/archive/using-rackutils-in-sinatra-escape_html-h-in-rails/
5c4e9be
@rkh rkh merged commit bec4d4d into sinatra:master Aug 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment