closeIfCurrentMatches example


        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',
                ));
            case 'tr':
                return $this->closeIfCurrentMatches($new$current, array(
                    'tr',
                ));
            case 'td':
            
Home | Imprint | This part of the site doesn't use cookies.