I've attempted using the CSS ellipsis property, but it's cutting off the first line. I want to display two lines (or set a max character length if possible). I looked into the 'limit' property in Angular to trim text, but it's not working within this InnerHTML content. Please review my HTML:
<div>
<p class='ellipsis' [innerHTML]="news.newsText"></p>
<a href="javascript: void(0)" (click)="readmoreFunc(news)">Read more</a>
</div>
This is how it currently appears on the UI: https://i.sstatic.net/xFEkU.png