handleDT example


    public function evaluate($new$current)
    {
        switch ($new->tagName) {
            case 'li':
                return $this->handleLI($new$current);
            case 'dt':
            case 'dd':
                return $this->handleDT($new$current);
            case 'rt':
            case 'rp':
                return $this->handleRT($new$current);
            case 'optgroup':
                return $this->closeIfCurrentMatches($new$current, array(
                    'optgroup',
                ));
            case 'option':
                return $this->closeIfCurrentMatches($new$current, array(
                    'option',
                ));
            
Home | Imprint | This part of the site doesn't use cookies.