/**
  * @return array
  */
 function attributes()
 {
     if (!$this->_attributes_parsed) {
         $attributes = WP_Metadata::get_html_attributes($this->tag_name);
         foreach ($this->_attributes as $name => $value) {
             $attributes[sanitize_key($name)] = esc_attr($value);
         }
         $this->_attributes = $attributes;
         $this->_attributes_parsed = true;
     }
     return $this->_attributes;
 }