Reference

Escape

The Escape class provides methods for escaping common HTML attributes data. This can be used to put untrusted data into typical attribute values like width, name, value, etc.

The Escape class is a wrapper for the Zend Escaper.