My concern is that I have a string in my database of the following form:
'<a href="#" id="Manuel">@Manuel</a> hola'
When I have it in my model it appears in the same way, and when I want to render the view it is shown as it is in the database, I do it in the following way:
<div>@Model.evento[0].Notas_Inicio</div>
How can I show it as if it belonged to DOM
the page?
What I did was to change the way of displaying the string, for that I used HtmlHelper.Raw from
Razor
.So I
div
am as follows: