You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally, the DOMNodeComparator::nodeToText has a bool parameter $canonicalize suggesting it could be optional. But the only caller, DOMNodeComparator::assertEquals, hardcodes it to true in both cases.
In
DOMNodeComparator::nodeToText
we call$node->C14n();
without any parameters.That results in all Comment (
<!-- ... -->
) nodes to be stripped.I'd consider that a bug.
Given we still have #87, and maybe #71, we should probably have a look into how this comparator works :)
The text was updated successfully, but these errors were encountered: