public function acceptStartToken($token, $event)
    {
        if ($event == LEXER_ENTER) {
            $this->tag = strtolower(substr($token, 1));

            return true;
        }
        if ($event == LEXER_EXIT) {
            $success = $this->listener->startElement(
                    $this->tag,
                    $this->attributes);
            $this->tag        = '';
            $this->attributes = array();

            return $success;
        }
        if ($token !== '=') {
            $this->current_attribute                    = strtolower(html_entity_decode($token, ENT_QUOTES));
            $this->attributes[$this->current_attribute] = '';
        }

        return true;
    }