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
Original issue reported on code.google.com by
gurinder...@countersoft.com
on 4 Apr 2014 at 2:02