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 authored and gmazzap committed May 4, 2017
1 parent cab7664 commit 3d46d15
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 3d46d15

Please sign in to comment.