Currently I'm busy with a project for school. I was optimizing my FAQ and I want to parse HTML in my TEXT column for my answer. Let me explain it better.
I have my database model, which is this:
public class FAQModel
{
public int Id { get; set; }
[Required]
public string Question { get; set; }
[Required]
public string Answer { get; set; }
}
And in my view:
<div><p>@item.Answer</p></div>
But now HTML (which is in my Answer column) will be like text, so it won't be parsed. Like this is my result:
Ga naar <a href="../EmailSub/">deze pagina</a>
But I want it to be a link which I can click on. Is there any way I can do this?