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

Skip to content

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