original_string: public function prepareGenerator($config)
      {
          $all = $config->getAll();
          $context = new HTMLPurifier_Context();
          $this->generator = new HTMLPurifier_Generator($config, $context);
      }
code: public function prepareGenerator($config)
      {
          $all = $config->getAll();
          $context = new HTMLPurifier_Context();
          $this->generator = new HTMLPurifier_Generator($config, $context);
      }
code_tokens: public function prepareGenerator ( $ config ) { $ all = $ config -> getAll ( ) ; $ context = new HTMLPurifier_Context ( ) ; $ this -> generator = new HTMLPurifier_Generator ( $ config , $ context ) ; }
docstring: Give generator necessary configuration if possible
  @param HTMLPurifier_Config $config
docstring_tokens: Give generator necessary configuration if possible