I have newline issue, I have header helpers that create http headers. ``` php $handlebars->addHelper('header', function($template, $context, $arg, $source) { $para = $template->parseArguments($arg); header($para[0]); }); ``` If I have template like this: ``` {{header "Content-Type: text/plain"}} {{#each foo}} {{this}} {{/each}} ``` I have redundant newline at the beginning and when I'm using this one: ``` {{header "Content-Type: text/plain"}}{{#each foo}} {{this}} {{/each}} ``` I have newline at the begining of each iteration (in fact I have two newlines, one expected).
I have newline issue, I have header helpers that create http headers.
If I have template like this:
I have redundant newline at the beginning and when I'm using this one:
I have newline at the begining of each iteration (in fact I have two newlines, one expected).