Zend\Escaper\Escaper::escapeHtml
Escape a string for the HTML Body context where there are very few characters of special meaning. Internally this will use htmlspecialchars().
Signature
public function escapeHtml(string
$string )
Parameters
$string
— string
Returns
- string