We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Dump function requires html_errors to be on, otherwise it double encodes xdebug_var_dump.
There seems to be an error (or an omission really) in Twig_Extension_Debug.
Line 21 of twig/lib/Twig/Extension/Debug.php currently reads:
$isDumpOutputHtmlSafe = extension_loaded('xdebug') && (false === get_cfg_var('xdebug.overload_var_dump') || get_cfg_var('xdebug.overload_var_dump')) && get_cfg_var('html_errors');
Perhaps it should read:
$isDumpOutputHtmlSafe = extension_loaded('xdebug') && (false === get_cfg_var('xdebug.overload_var_dump') || get_cfg_var('xdebug.overload_var_dump')) && (false === get_cfg_var('html_errors') || get_cfg_var('html_errors'));
I've simply added the same unset clause as used in the overload_var_dump check.
The text was updated successfully, but these errors were encountered:
078905e
No branches or pull requests
The Dump function requires html_errors to be on, otherwise it double encodes xdebug_var_dump.
There seems to be an error (or an omission really) in Twig_Extension_Debug.
Line 21 of twig/lib/Twig/Extension/Debug.php currently reads:
Perhaps it should read:
I've simply added the same unset clause as used in the overload_var_dump check.
The text was updated successfully, but these errors were encountered: