instance method String#escapeHTML
String#escapeHTML() → String
Converts HTML special characters to their entity equivalents.
Example
'<div class="article">This is an article</div>'.escapeHTML(); // -> "<div class="article">This is an article</div>"