Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[DomCrawler] Improve Crawler HTML5 parser need detection#30892
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
57c9bee to96b5f69Comparejaviereguiluz commentedApr 6, 2019
@tgalopin will you add a config option in FrameworkBundle to enable/disable the HTML5 parser? Thanks. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
tgalopin commentedApr 6, 2019
@javiereguiluz the usage of the HTML5 parser is when 1/ the library is available 2/ the doctype is HTML5. I think it's better than having a configuration option (and was recommended by Nicolas) |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
…(javiereguiluz)This PR was squashed before being merged into the master branch (closes#11316).Discussion----------Minor improvement in the DomCrawler + HTML5 explanationMinor improvement according to@tgalopin comments insymfony/symfony#30892.Commits-------1c7eb79 Minor improvement in the DomCrawler + HTML5 explanation
96b5f69 to92cd9ecCompare92cd9ec to9bbdab6Comparetgalopin commentedApr 6, 2019
Updated |
fabpot commentedApr 6, 2019
Thank you@tgalopin. |
…on (tgalopin)This PR was merged into the 4.3-dev branch.Discussion----------[DomCrawler] Improve Crawler HTML5 parser need detection| Q | A| ------------- | ---| Branch? | master| Bug fix? | kind of| New feature? | no| BC breaks? | no| Deprecations? | no>| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -Live from #eu-fossaFollow up of#29306This PR introduces a better detection mechanism to choose when to parse using the HTML5 parser or not, and fix a subcrawler parsing issue as well.@stof I'd be super interested by your review :) !Commits-------9bbdab6 [DomCrawler] Improve Crawler HTML5 parser need detection
This PR was merged into the 4.3 branch.Discussion----------[DomCrawler] fix HTML5 parser integration| Q | A| ------------- | ---| Branch? | master| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -Spotted while reviewing#30892The current logic is context-dependent: by changing the order of calls, you can get different behaviors.Commits-------ba83bda [DomCrawler] fix HTML5 parser integration
Uh oh!
There was an error while loading.Please reload this page.
Live from #eu-fossa
Follow up of#29306
This PR introduces a better detection mechanism to choose when to parse using the HTML5 parser or not, and fix a subcrawler parsing issue as well.
@stof I'd be super interested by your review :) !