Question: When I apply a linky filter to ng-bind-html it stops displaying 
the html and only applies the html filter to the raw html links. 

Example:

Raw Input: 

 <b>This text is bold</b> <i>This text is italic</i> http://www.uncrate.com

In Scenario One:

<ul ng-repeat="comment in comments | orderBy:'id':'reverse'">  <li 
ng-bind-html="comment.comment_copy"></li>

Output of Scenario One:
*This text is bold* *This text is italic* http://www.uncrate.com <--- this 
would be raw text 

In Scenario Two:

<ul ng-repeat="comment in comments | orderBy:'id':'reverse'">  <li 
ng-bind-html="comment.comment_copy | linky"></li>  

Output of Scenario Two: 

<b>This text is bold</b> <i>This text is italic</i> http://www.uncrate.com <-- 
this would be a clickable working link.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to