original_string: public function purifyArray($array_of_html, $config = null)
      {
          $context_array = array();
          foreach ($array_of_html as $key => $html) {
              $array_of_html[$key] = $this->purify($html, $config);
              $context_array[$key] = $this->context;
          }
          $this->context = $context_array;
          return $array_of_html;
      }
code: public function purifyArray($array_of_html, $config = null)
      {
          $context_array = array();
          foreach ($array_of_html as $key => $html) {
              $array_of_html[$key] = $this->purify($html, $config);
              $context_array[$key] = $this->context;
          }
          $this->context = $context_array;
          return $array_of_html;
      }
code_tokens: public function purifyArray ( $ array_of_html , $ config = null ) { $ context_array = array ( ) ; foreach ( $ array_of_html as $ key => $ html ) { $ array_of_html [ $ key ] = $ this -> purify ( $ html , $ config ) ; $ context_array [ $ key ] = $ this -> context ; } $ this -> context = $ context_array ; return $ array_of_html ; }
docstring: Filters an array of HTML snippets
  
  @param string[] $array_of_html Array of html snippets
  @param HTMLPurifier_Config $config Optional config object for this operation.
  See HTMLPurifier::purify() for more details.
  
  @return string[] Array of purified HTML
docstring_tokens: Filters an array of HTML snippets