Hey @immcse,
The <code>
is just for styling code, it will still render HTML as HTML.
Take a look into: https://stackoverflow.com/questions/11386586/how-to-show-div-tag-literally-in-code-pre-tag
You should replace the characters of your HTML with the corresponding character entity. E.g.: <
should be <
This is the default behaviour of HTML and is not related to Ionic.