In Ionic, the <ion-text> component is mostly a wrapper that applies Ionic’s theming to text—it doesn’t parse or render raw HTML strings automatically. So if you try something like this:
<ion-text>
"{{ '<b>Bold</b>' }}"
</ion-text>
…it will just display "<b>Bold</b>" as text, not bold text.
✅ Correct way: Use Angular’s property binding with [innerHTML] if you want to render HTML inside ion-text:
<ion-text [innerHTML]="htmlContent"></ion-text>
And in your component:
htmlContent = '<b>This is bold text</b> and <i>this is italic</i>';