original_string: protected static function getAttributesString($attributes)
      {
          $str = '';
          if (is_array($attributes)) {
              $charset = self::getOption('charset');
              foreach ($attributes as $key => $value) {
                  $str .= ' ' . $key . '="' . htmlspecialchars($value, ENT_QUOTES, $charset) . '"';
              }
          }
          return $str;
      }
code: protected static function getAttributesString($attributes)
      {
          $str = '';
          if (is_array($attributes)) {
              $charset = self::getOption('charset');
              foreach ($attributes as $key => $value) {
                  $str .= ' ' . $key . '="' . htmlspecialchars($value, ENT_QUOTES, $charset) . '"';
              }
          }
          return $str;
      }
code_tokens: protected static function getAttributesString ( $ attributes ) { $ str = '' ; if ( is_array ( $ attributes ) ) { $ charset = self :: getOption ( 'charset' ) ; foreach ( $ attributes as $ key => $ value ) { $ str .= ' ' . $ key . '="' . htmlspecialchars ( $ value , ENT_QUOTES , $ charset ) . '"' ; } } return $ str ; }
docstring: Creates HTML attribute string from array
  
  @param    array   Attribute array
  @return   string  Attribute string
docstring_tokens: Creates HTML attribute string from array