I am using a pipe in an Ionic/Angular app that is transforming a text and returning a result with an html code.
This an example of how I am using my pipe:
<ion-label>
<span>{{ text | mypipe: 'lo':'secondary' }}</span>
</ion-label>
The resulting HTML of the code within the double curls is as follows:
Loth<ion-text color='secondary'>lo</ion-text>rien
The problem is that upon execution, all I am seeing in my label is Loth<ion-text color='secondary'>lo</ion-text>rien
instead of Lothlorien with the colored portion of the text (i.e: 'lo')
Any idea why I am having this behavior and how to fix it?
Thanks