Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #36259 [DomCrawler] Fix BC break in assertions breaking Panther (…
…dunglas) This PR was merged into the 4.4 branch. Discussion ---------- [DomCrawler] Fix BC break in assertions breaking Panther | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | n/a | License | MIT | Doc PR | n/a #35899 introduces a BC break: browsers aren't able to retrieve the non-normalized version of a text. According to the HTML spec, whitespaces are always normalized. Because of this patch, these assertions doesn't work with Panther anymore. Also, this change probably hurts other users because getting the non-normalized version is almost never expected. (I'm in favor of **not** supporting retrieving the non-normalized version at all, for consistency with browsers and the spec, but it's another topic). Commits ------- 7af07c8 [DomCrawler] Fix BC break in assertions breaking Panther
- Loading branch information