Yes, I’ve tried that too. Same result. The issue is that the SafeHtml
is not a string
. My company’s standards are to type everything (enforced by TSLint). The content
option of LoadingController.create()
takes only a string
. I’ve even tried converting the SafeHtml
with .toString()
, but the results are the same. The rest of the HTML I have surrounding the SVG renders just fine, but the SVG shows up as an error that (in the HTML itself) that the sanitized HTML must be used as innerHtml="sanitizedHtml"
(or something of that effect).
I would love to see a real, working example.