diff --git a/flight/template/View.php b/flight/template/View.php index a9d4052..152ce75 100644 --- a/flight/template/View.php +++ b/flight/template/View.php @@ -122,9 +122,7 @@ class View { ob_start(); $this->render($file, $data); - $output = ob_get_contents(); - - ob_end_clean(); + $output = ob_get_clean(); return $output; }