WordPress Escape for HTML

// Escaping for HTML attributes.
esc_attr( string $text )
TheDutchScorpion