calliope
calliope copied to clipboard
Angular expression in attribute doesn't parse nicely
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. :)
I'll take a look this weekend and get back to you.