escapeHtml

Converts the characters &, <, >, " and ' in a string to their corresponding HTML entities.

Example