-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[DomCrawler] Add argument $normalizeWhitespace to Crawler::innerText() and make it return the first non-empty text
#48940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Crawler::innerText()
Crawler::innerText()Crawler::innerText()
fabpot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to follow the instructions I've given in the other PR to avoid having a BC break.
Crawler::innerText()Crawler::innerText()
|
@fabpot sorry I just ammended the commit: 9c08134 to have it exactly as you explained. But the fabbot.io action doesn't like the |
Crawler::innerText()Crawler::innerText()
Crawler::innerText()$normalizeWhitespace to Crawler::innerText() and make it return the first non-empty text
…xt()` and make it return the first non-empty text
|
Thank you @otsch. |
According to the changes from symfony/symfony#48940
…` (otsch) This PR was merged into the 6.3 branch. Discussion ---------- [DomCrawler] Adapt docs for `Crawler::innerText()` According to the changes from symfony/symfony#48940 And as requested in symfony#17722 Commits ------- e5047ee Adapt docs for Crawler::innerText()
This is a new PR instead of #48684 with target branch 6.3 as requested.