Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular expression in attribute doesn't parse nicely #52

Open
zonecheung opened this issue Aug 7, 2015 · 1 comment
Open

Angular expression in attribute doesn't parse nicely #52

zonecheung opened this issue Aug 7, 2015 · 1 comment

Comments

@zonecheung
Copy link

We found a problem when parsing the following tag with angular expression in the attribute:

%li(ng-repeat="pager in paging.pagers" ng-class=" paging.pagination.current_page === pager ? 'active' : '' ")

Somehow, it's generated as:

<li class="paging.pagination.current_page === pager ? ng-scope" ng-repeat="pager in paging.pagers" ng-active'="" "=""></li>

While the expected behavior is this:

<li ng-repeat="pager in paging.pagers" ng-class=" paging.pagination.current_page === pager ? 'active' : '' " class="ng-scope"></li>

Would really appreciate if it can be fixed. Thank you. :)

@nurugger07
Copy link
Owner

I'll take a look this weekend and get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants