Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[DomCrawler] Fix converting HTML5 trees to DOM nodes#62186

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

Merged
nicolas-grekas merged 1 commit intosymfony:7.4fromnicolas-grekas:html5-fix
Oct 28, 2025

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?7.4
Bug fix?yes
New feature?no
Deprecations?no
IssuesFix#62176
LicenseMIT

Much better than#62180

@PhilETaylor
Copy link
Contributor

Thanks for taking a second look. I have applied this PR to my live site and the unit tests are passing again, meaning the b/c break has been resolved.

nicolas-grekas reacted with hooray emoji

@nicolas-grekasnicolas-grekas merged commit6aeeb25 intosymfony:7.4Oct 28, 2025
12 checks passed

privatefunctioncopyFromHtml5ToDom(\Dom\Node$source,\DOMDocument$target):void
{
/** @var list<array{0: iterable<\Dom\Node>, 1: ?\DOMNode}> $stack */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

can the key1 really be nullable ? The code does not handle null values when using it.

Copy link
MemberAuthor

@nicolas-grekasnicolas-grekasOct 28, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

right, I forgot to clean this up from a previous iteration, I'll do ahotpatch

@nicolas-grekasnicolas-grekas deleted the html5-fix branchOctober 28, 2025 09:23
This was referencedNov 2, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

Assignees

No one assigned

Projects

None yet

Milestone

7.4

Development

Successfully merging this pull request may close these issues.

[DomCrawler] Native HTML5 parser on PHP 8.4 b/c change with alpinejs

4 participants

@nicolas-grekas@PhilETaylor@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp