mirror of
https://github.com/getgrav/grav.git
synced 2026-05-06 04:57:13 +02:00
Fix output handling in RenderProcessor (#1483)
Ensure that output modifications by subscribers to onOutputGenerated are picked up.
This commit is contained in:
@@ -28,7 +28,7 @@ class RenderProcessor extends ProcessorBase implements ProcessorInterface
|
||||
// Set the header type
|
||||
$container->header();
|
||||
|
||||
echo $output;
|
||||
echo $container->output;
|
||||
|
||||
// remove any output
|
||||
$container->output = '';
|
||||
|
||||
Reference in New Issue
Block a user