machty / emblem.js

Emblem.js - Ember-friendly, indented syntax alternative for Handlebars.js
http://emblemjs.com
MIT License
1.04k stars 81 forks source link

Bracket attributes no longer support empty lines #223

Closed paulcretu closed 6 years ago

paulcretu commented 9 years ago

I upgraded from 0.4.0 to 0.5.0 and multiline attributes that contain empty lines no longer work. For example:

ember-component [
  isHidden=foo
  value=bar

  saveAction="save" ]

Lines that contain comments don't work either:

ember-component [
  isHidden=foo
  value=bar
  / here's a comment
  saveAction="save" ]
bantic commented 9 years ago

@paulcretu Thanks for this report. This likely relates to #219 as well.