I iterate through an array with ngFor. The array contains strings like this: "Some Text 1 <br>
some text 2". Here is the HTML:
<div class="content" *ngFor="let item of graphService.contents">{{item}}</div>
It prints the correct text but doesn't break the line. It prints the br like a normal word but I want it to break the line. How can I achieve that without splitting the string in two like "Array.firstString + <br>
+ Array.secondString?