Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[VarDumper] Use documentElement instead of body for JS flag #50493

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

Merged
merged 1 commit into from
May 31, 2023

Conversation

ohader
Copy link
Contributor

@ohader ohader commented May 31, 2023

Q A
Branch? 6.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #50487
License MIT
Doc PR ---

Fixes: #50487

Using document.documentElement allows to use the dumper outside of a <html><body>...</body></html> scenario.

@carsonbot carsonbot added this to the 6.3 milestone May 31, 2023
@carsonbot carsonbot changed the title bug #50487 [VarDumper] Use documentElement instead of body for JS flag [VarDumper] bug #50487 Use documentElement instead of body for JS flag May 31, 2023
@ohader ohader changed the title [VarDumper] bug #50487 Use documentElement instead of body for JS flag [VarDumper] Use documentElement instead of body for JS flag May 31, 2023
Using `document.documentElement` allows to use the dumper
outside of a `<html><body>...</body></html>` scenario.

Fixes: symfony#50487
@nicolas-grekas
Copy link
Member

Thank you @ohader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants