WordPress Escape für HTML

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