nurugger07 / calliope

An elixir haml parser
Apache License 2.0
198 stars 37 forks source link

Incorrectly removed a comma in an attribute string #49

Closed thawatchai closed 8 years ago

thawatchai commented 9 years ago

This line

%a.btn.btn-default.btn-lg(href="" ng-click="loadMore(pagination, get_page)")"

returns

<a class="btn btn-default btn-lg" href="" ng-click="loadMore(pagination get_page)"></a>

The expected result is

<a class="btn btn-default btn-lg" href="" ng-click="loadMore(pagination, get_page)"></a>

We use attribute strings to call Angular functions, so this bug breaks a lot of our code. Could you please fix it? Thank you very much. :smile:

smpallen99 commented 8 years ago

Fixed