If I try to filter snippet with linky, the input is no longer sanitized / rendered / 'html-ized'. i.e. I want to be able to combine the effects of both:
<div ng-bind-html="snippet"></div>
and
<div ng-bind-html="snippet | linky"></div>
Here is the fiddle: http://jsfiddle.net/5uSnj/
linky takes text as input and not html. if you want a filter that takes html as input then it has to work completely differently. please see: https://github.com/angular/angular.js/pull/3285#issuecomment-21958391
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With