CADbloke / daisydiff

Automatically exported from code.google.com/p/daisydiff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TextNode->IsSame() references not declared variable $html2 in php

GoogleCodeExporter opened this issue · comments


    public function isSameText($other) {
        if (is_null($other) || ! $other instanceof TextNode) {
            return false;
        }
        return preg_replace('/[\n\r]/',' ',$this->text) === preg_replace('/[\n\r]/',' ',$html2);
    }

I assume the $html2 needs to be replaces with $other->text?

Original issue reported on code.google.com by gurinder...@countersoft.com on 4 Apr 2014 at 2:02