Replaced firstChild with children[0] in findParent. This will ensure that the first node will be returnd unlike FirstChild which searches text+nodes.
Replaced firstChild with children[0] in findParent.
This will ensure that the first node will be returnd unlike FirstChild which searches text+nodes.

JustinPealing/html-query-plan,JustinPealing/html-query-plan