I need to display emails. I have a list of subjects and each is a link. User clicks on the link and the email displays. The emails are in a SQL table and in HTML format.
The site is a secure https site and when I use Html.Raw to render the html the site's is no longer secure, padlock icon gone and site details indicate contents no longer secure.
How can I render html securely? Is there a safe alternative to Html.Raw.

Darveson Wright98 reputationPosted Dec 6, 2019, 2:30 AM EST
Ramachandran MRank #2,660 · 522 reputationPosted Dec 4, 2019, 6:11 PM EST
and you can create a HTML helper too!: