Tldr; its escapes ', &, ", <, >

If anyone is wondering what exactly ruby’sCGI.escape_html escape, here is the list:

# The set of special characters and their escaped values  TABLE_FOR_ESCAPE_HTML__ = {    
"'" => '&#39;',
'&' => '&amp;',
'"' => '&quot;',
'<' => '&lt;',
'>' => '&gt;',
}

You…

Avinasha Shastry

Avinasha Shastry

On and off digital nomad currently somewhere in South East Asia. I code and make videos while I travel with @fatcatshankar. Previously CTO @supportbee