How to truncate HTML content in Angular 2? -


i have used 1 pipe truncate ,working fine normal text not in html content

app.html

  <tr>   <td>{{howtoreach?.content|truncate :40}}</td>  //html content.not working   <td>{{howtoreach?.id}}</td>                   //working   <td> 

howtoreach


Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -