i try to print using innerHTMLbut is not working with ionic 4
<div *ngFor="let item of faqlist">
<p [innerHTML]="item.page_content"></p>
</div>
Please help me out
Thanks
i try to print using innerHTMLbut is not working with ionic 4
<div *ngFor="let item of faqlist">
<p [innerHTML]="item.page_content"></p>
</div>
Please help me out
Thanks
Hi, @flycoders_sourav Did you find any solution on this. If yes please help me I am also facing this issue.
@adi4208 @flycoders_sourav Can you guys try with: <p>{{ item.page_content }}</p>
I would urge you to forget completely about innerHTML
. It leads to bad design decisions, and you’ll almost certainly get committed to it and then discover that it doesn’t actually do what you wish it would.
ok I will check thanks for the help.
Ok, I will check thanks for the help.