Is there a way to render HTML tags from a ViewBag? I am pulling article content out of a database, but the HTML tags included in the article aren't rendered.

For example:

ViewBag.ArticleContent = "Machine <strong>Language</strong> Content";

The tag doesn't render, it just shows up as text. This is a static string, but I get the same issue when I assign to ViewBag.ArticleContent from the database.

Related posts

Recent Viewed