I have a ionic2 page and i want to print HTML inside the ion-item: Here is the ionic2 page:
@Page({
templateUrl: './html-page.html',
})
export class Demo{
htmlString:string = "Hello<br/><br/>Html"
constructor() {
}
}
and here is the corresponding template:
<ion-content>
<ion-card>
{{htmlString}}
</ion-card>
</ion-content>
And now Hello<br/><br/>Html
is output. but i want that
Hello
Html
will be output.