folgendes ersetzt die bestehende methode...
Code: Alles auswählen
    protected function _skipInTag($chars)
    {
        $sb = "";
        while (($ch = $this->_currentChar()) !== -1) {
            if ($ch == ">") {
                return $sb;
            } else {
                $match = false;
                if (is_string($chars) && strlen($chars) == 1) {
                    $chars = Array($chars);
                }
                $_count = ($chars !== null && $chars !== '') ? count($chars) : 0;
                
                for ($idx = 0; $idx < $_count; $idx++) {
                    if ($ch == $chars[$idx]) {
                        $match = true;
                        break;
                    }
                }
                if (!$match) {
                    return $sb;
                }
                $sb .= $ch;
                $this->_moveNext();
            }
        }
        return $sb;
    }