original_string: public static function html($value, array $options = array()) {
          $options = $options + array(
              'strip' => true,
              'whitelist' => ''
          );
  
          if ($options['strip']) {
              $value = strip_tags($value, $options['whitelist']);
          }
  
          return static::escape($value, $options);
      }
code: public static function html($value, array $options = array()) {
          $options = $options + array(
              'strip' => true,
              'whitelist' => ''
          );
  
          if ($options['strip']) {
              $value = strip_tags($value, $options['whitelist']);
          }
  
          return static::escape($value, $options);
      }
code_tokens: public static function html ( $ value , array $ options = array ( ) ) { $ options = $ options + array ( 'strip' => true , 'whitelist' => '' ) ; if ( $ options [ 'strip' ] ) { $ value = strip_tags ( $ value , $ options [ 'whitelist' ] ) ; } return static :: escape ( $ value , $ options ) ; }
docstring: Sanitize a string by removing xor escaping HTML characters and entities.
  
  @param string $value
  @param array $options {
  @type bool $strip       Will remove HTML tags
  @type string $whitelist List of tags to not strip
  }
  @return string
docstring_tokens: Sanitize a string by removing xor escaping HTML characters and entities .