Skip to content

Commit

Permalink
Do not trim output - fixes #44
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Oct 31, 2016
1 parent 08f8421 commit 1169c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ private function doRender($path, array $data = [], $class = null)
}
$template = $this->stack()->factory($path, $this, $class);
$this->events->fire('f.template.render', $template, $data);
$output = trim($template->render($data));
$output = $template->render($data);
$this->events->fire('f.template.renderered', $template, $output, $this->status);

return $output;
Expand Down

0 comments on commit 1169c54

Please sign in to comment.