Code Duplication    Length = 6-6 lines in 2 locations

lib/modules/mod_html2text/htmlparser.inc 2 locations

@@ 93-98 (lines=6) @@
90
     */
91
    function parse() {
92
        $text = $this->skipToElement();
93
        if ($text != "") {
94
            $this->iNodeType = NODE_TYPE_TEXT;
95
            $this->iNodeName = "Text";
96
            $this->iNodeValue = $text;
97
            return true;
98
        }
99
        return $this->readTag();
100
    }
101
@@ 145-150 (lines=6) @@
142
                        }
143
                    }
144
                }
145
                if (!$comment) {
146
                    $this->iNodeType = NODE_TYPE_TEXT;
147
                    $this->iNodeName = "Text";
148
                    $this->iNodeValue = "<" . $name;
149
                    return true;
150
                }
151
        }
152
        else {
153
                $this->iNodeType = NODE_TYPE_ELEMENT;