original_string: public function escape($string, $quote = null)
      {
          // Workaround for APC bug on Mac Leopard reported by sidepodcast
          // http://htmlpurifier.org/phorum/read.php?3,4823,4846
          if ($quote === null) {
              $quote = ENT_COMPAT;
          }
          return htmlspecialchars($string, $quote, 'UTF-8');
      }
code: public function escape($string, $quote = null)
      {
          // Workaround for APC bug on Mac Leopard reported by sidepodcast
          // http://htmlpurifier.org/phorum/read.php?3,4823,4846
          if ($quote === null) {
              $quote = ENT_COMPAT;
          }
          return htmlspecialchars($string, $quote, 'UTF-8');
      }
code_tokens: public function escape ( $ string , $ quote = null ) { // Workaround for APC bug on Mac Leopard reported by sidepodcast // http://htmlpurifier.org/phorum/read.php?3,4823,4846 if ( $ quote === null ) { $ quote = ENT_COMPAT ; } return htmlspecialchars ( $ string , $ quote , 'UTF-8' ) ; }
docstring: Escapes raw text data.
  @todo This really ought to be protected, but until we have a facility
  for properly generating HTML here w/o using tokens, it stays
  public.
  @param string $string String data to escape for HTML.
  @param int $quote Quoting style, like htmlspecialchars. ENT_NOQUOTES is
  permissible for non-attribute output.
  @return string escaped data.
docstring_tokens: Escapes raw text data .