/**
  * Generates HTML <label></label> tags, inserts content, and adds any passed attributes
  * usage: echo EEH_HTML::span( 'this is some inline text' );
  *
  * @access protected
  * @param string $tag
  * @param string $content - inserted after opening tag, and appends closing tag, otherwise tag is left open
  * @param string $id - html id attribute
  * @param string $class - html class attribute
  * @param string $style - html style attribute for applying inline styles
  * @param string $other_attributes - additional attributes like "colspan", inline JS, "rel" tags, etc
  * @return string
  */
 protected static function _inline_tag($tag = 'span', $content = '', $id = '', $class = '', $style = '', $other_attributes = '')
 {
     $attributes = !empty($id) ? ' id="' . EEH_HTML::sanitize_id($id) . '"' : '';
     $attributes .= !empty($class) ? ' class="' . $class . '"' : '';
     $attributes .= !empty($style) ? ' style="' . $style . '"' : '';
     $attributes .= !empty($other_attributes) ? ' ' . $other_attributes : '';
     return '<' . $tag . ' ' . $attributes . '>' . $content . '</' . $tag . '>';
 }