cdauth / htmldiff

Calculate the difference between two HTML snippets
30 stars 6 forks source link

Call to a member function getIndexOf() on null #4

Open huwdp opened 8 years ago

huwdp commented 8 years ago

Parser breaks at https://github.com/cdauth/htmldiff/blob/master/Nodes.php#L203 if parser somehow is on the body tag and tries to access the parent node.

Call to a member function getIndexOf() on null in htmldiff\Nodes.php on line 203

jeremykenedy commented 8 years ago

The error above times 2.