Class | CGI |
In: |
lib/more/facets/cgi.rb
|
Parent: | Object |
escapeHTML | -> | escape_html |
unescapeHTML | -> | unescape_html |
escapeElement | -> | escape_element |
unescapeElement | -> | unescape_element |
Return an html "safe" version of the string, where every &, < and > are replaced with appropriate entities.
Calls esc, and then further replaces carriage returns and quote characters with entities.
Create an hidden input field through which an object can can be marshalled. This makes it very easy to pass from data between requests.