Open steakchaser opened 10 years ago
@steakchaser Ehmm, I don't think it's a good idea because the items are usually defined in controller and putting html tags in controller is wrong,
Maybe we can extend it by providing icon: 'some-icon-class-name' or support for badges, otherwise you can always extend from BsPill and override its template/view
Thanks
Currently the BsPill view uses a double-stash
{{view.title}}
for it's template, which does not make it possible to include html in the title of a pill or tab. Examples of html that would be pretty common are:To fix this, I think that BsPill could just be updated to use a triple-stash
{{{view.title}}}
.