Closed jderusse closed 4 months ago
This PR makes CSPNode compatible with twig 3.9.
Since https://github.com/twigphp/Twig/pull/3999 we cannot use ob_ method to get the generated output (See https://github.com/twigphp/Twig/issues/4034)
ob_
This PR fixes the issue by using the CaptureNode introduced in https://github.com/twigphp/Twig/pull/3954
Fix #343
thanks @jderusse!
This PR makes CSPNode compatible with twig 3.9.
Since https://github.com/twigphp/Twig/pull/3999 we cannot use
ob_
method to get the generated output (See https://github.com/twigphp/Twig/issues/4034)This PR fixes the issue by using the CaptureNode introduced in https://github.com/twigphp/Twig/pull/3954
Fix #343