Look up to post #61, only a subset of HTML tags are supported.
Unrecognised tags may or may not be displayed as plain text - this looks to be part of your problem.
The other problem may be that your HTML is not 100% valid - mismatched and/or incomplete tags may be displayed as plain text.
Validate your HTML:
https://validator.w3.org