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

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -