Closed emoryy closed 5 years ago
This emblem and handlebars code should render the same html, right?
label Text1 = link-to 'somewhere': span #{a-helper something.prop} | i.fa.fa-chevron-right label Text2
<label>Text1</label> {{#link-to 'somewhere'}}<span>{{a-helper something.prop}}</span>{{/link-to}} <i class="fa fa-chevron-right"></i> <label>Text2</label>
Well, they are not. Handlebars leaves a bunch of newlines (\n) in the code resulting a different spacing between these inline elements.
\n
This emblem and handlebars code should render the same html, right?
Well, they are not. Handlebars leaves a bunch of newlines (
\n
) in the code resulting a different spacing between these inline elements.