protected function escapeAttribute(): string
    {
        $value = $this->validateEncoding();
        $value = strip_tags($value);

        return htmlspecialchars($value, ENT_QUOTES);
    }
protected function escapeAttribute(): string
    {
        $value = $this->validateEncoding();
        $value = strip_tags($value);

        return htmlspecialchars($value, ENT_QUOTES);
    }
protected function escapeAttribute ( ) : string { $ value = $ this -> validateEncoding ( ) ; $ value = strip_tags ( $ value ) ; return htmlspecialchars ( $ value , ENT_QUOTES ) ; }
Escape the value to be used as a HTML attribute.

@since 0.1.0

@return string
Escape the value to be used as a HTML attribute .