SyntaxFix
Write A Post
Hire A Developer
Questions
An addition to Christopher Bradford's answer to use the HTML escaping anywhere, since most people don't use CGI nowadays, you can also use Rack:
CGI
Rack
require 'rack/utils' Rack::Utils.escape_html('Usage: foo "bar" <baz>')