Escape special characters in HTML, namely &\"<>
CGI::escapeHTML('Usage: foo "bar" <baz>')
# => "Usage: foo "bar" <baz>"
Ruby / PRACTICAL TUTORIAL
Escape special characters in HTML, namely &\"<>
CGI::escapeHTML('Usage: foo "bar" <baz>')
# => "Usage: foo "bar" <baz>"
No archived comments on this tutorial.
One example today. A better developer tomorrow.