Change to:

```
<li class="<% v == data.current ? 'active' : '' %>>
```