mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
693d9dce5d
In the browser, calling element.textContent causes child comment nodes to be ignored, while getting textContent directly on a comment node will return the comment. This change makes parse5Adapter consistent with this behavior by adding a 2nd argument to getText telling if it's being called recursively. Closes #5805