thirdparty/htmlpurifier-4.0.0-lite/library/HTMLPurifier/Lexer/PEARSax3.php
public function openHandler(&$parser, $name, $attrs, $closed) {
        // entities are not resolved in attrs
        foreach ($attrs as $key => $attr) {
            $attrs[$key] = $this->parseData($attr);
        }
        if ($closed) {
            $this->tokens[] = new HTMLPurifier_Token_Empty($name, $attrs);
        } else {
            $this->tokens[] = new HTMLPurifier_Token_Start($name, $attrs);
        }
        return true;
    }
public function openHandler(&$parser, $name, $attrs, $closed) {
        // entities are not resolved in attrs
        foreach ($attrs as $key => $attr) {
            $attrs[$key] = $this->parseData($attr);
        }
        if ($closed) {
            $this->tokens[] = new HTMLPurifier_Token_Empty($name, $attrs);
        } else {
            $this->tokens[] = new HTMLPurifier_Token_Start($name, $attrs);
        }
        return true;
    }
public function openHandler ( & $ parser , $ name , $ attrs , $ closed ) { // entities are not resolved in attrs foreach ( $ attrs as $ key => $ attr ) { $ attrs [ $ key ] = $ this -> parseData ( $ attr ) ; } if ( $ closed ) { $ this -> tokens [ ] = new HTMLPurifier_Token_Empty ( $ name , $ attrs ) ; } else { $ this -> tokens [ ] = new HTMLPurifier_Token_Start ( $ name , $ attrs ) ; } return true ; }
Open tag event handler, interface is defined by PEAR package.
Open tag event handler interface is defined by PEAR package .