Skip to content

Commit

Permalink
don't trim the template
Browse files Browse the repository at this point in the history
  • Loading branch information
Velliz committed Feb 10, 2018
1 parent 416ed74 commit fc26d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/slicer/Slicer.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function Lexer($template, $output = array(), $position = 0)

$length = strlen($template);
$lex = array();
$lex['text'] = trim(substr($template, $position, $length));
$lex['text'] = substr($template, $position, $length);
$lex['start'] = $position;
$lex['end'] = $length;
$lex['length'] = ($length - $position);
Expand Down

0 comments on commit fc26d50

Please sign in to comment.