Skip to content

Commit

Permalink
Fix output handling in RenderProcessor (#1483)
Browse files Browse the repository at this point in the history
Ensure that output modifications by subscribers to onOutputGenerated are picked up.
  • Loading branch information
OliverO2 authored and mahagr committed May 18, 2017
1 parent 5a93fcf commit 890b028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/src/Grav/Common/Processors/RenderProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function process()
// Set the header type
$container->header();

echo $output;
echo $container->output;

// remove any output
$container->output = '';
Expand Down

0 comments on commit 890b028

Please sign in to comment.