I have a message which I want show it's body (which is a piece of html) using razor.
Somewhere in my cshtml
file I have this:
<div>
@message.Body
</div>
While the content of message.Body
is: <p>Hello</p>
the created html is:
<div>
<p>Hello</p>
</div>
But I want the result to be:
<div>
<p>Hello</p>
</div>