[innerHTML] or [outerHTML] only work in Live Preview, not in build [iOS]

so… it [innerHTML] or [outerHTML] works when fine i was developing it on live preview in browser.

However when i run an ios build, nothing is rendered, it’s just empty.

<span [outerHTML]="content.maintext"></span>

Did I make any mistake doing it?