I am using ionic 3 and angular 2 and I have ran into a problem with [innerHTML] styling a big html string. While it is working fine in a div tag standing alone, it cuts off the string at the end of the screen istead of going to the next line when in an ion-list tag. Any idea why is this happening? Images and code below: Within a div tag. Withing an ion-list tag
Html file with div tag
<button (click)="this.getSchoolInfo(16329)" > Load string </button>
<div [innerHTML] = "test"> </div>
Html file with ion-list tag
<ion-list-header> Σχολές </ion-list-header>
<ion-item *ngFor="let i of schools" (click)="toggleDetails(i.school)">
<b>{{i.school.title}}</b><br>
<div class="info" *ngIf="i.school.showDetails" [innerHTML]="test"></div>
</ion-item>
Big string at .ts file
this.test = "<p>bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbgggggggggggggggggggggggggggggggggg</p>"


text-overflow: hidden;or something like that