hamlbars icon indicating copy to clipboard operation
hamlbars copied to clipboard

Improve readability of outputted hbs

Open mplatts opened this issue 8 years ago • 0 comments

old:

{{#if messages}}<ul class='alert'>
  {{#each messages}}<li>{{{this}}}</li>{{/each}}
</ul>{{/if}}

with my modifications:

{{#if messages}}
  <ul class='alert'>
    {{#each messages}}
      <li>{{{this}}}</li>
    {{/each}}
  </ul>
{{/if}}

mplatts avatar Mar 11 '16 22:03 mplatts