thirdparty/htmlpurifier-4.0.0-lite/library/HTMLPurifier/Lexer/PEARSax3.php
public function escapeHandler(&$parser, $data) {
        if (strpos($data, '--') === 0) {
            $this->tokens[] = new HTMLPurifier_Token_Comment($data);
        }
        // CDATA is handled elsewhere, but if it was handled here:
        //if (strpos($data, '[CDATA[') === 0) {
        //    $this->tokens[] = new HTMLPurifier_Token_Text(
        //        substr($data, 7, strlen($data) - 9) );
        //}
        return true;
    }
public function escapeHandler(&$parser, $data) {
        if (strpos($data, '--') === 0) {
            $this->tokens[] = new HTMLPurifier_Token_Comment($data);
        }
        // CDATA is handled elsewhere, but if it was handled here:
        //if (strpos($data, '[CDATA[') === 0) {
        //    $this->tokens[] = new HTMLPurifier_Token_Text(
        //        substr($data, 7, strlen($data) - 9) );
        //}
        return true;
    }
public function escapeHandler ( & $ parser , $ data ) { if ( strpos ( $ data , '--' ) === 0 ) { $ this -> tokens [ ] = new HTMLPurifier_Token_Comment ( $ data ) ; } // CDATA is handled elsewhere, but if it was handled here: //if (strpos($data, '[CDATA[') === 0) { //    $this->tokens[] = new HTMLPurifier_Token_Text( //        substr($data, 7, strlen($data) - 9) ); //} return true ; }
Escaped text handler, interface is defined by PEAR package.
Escaped text handler interface is defined by PEAR package .