0

I'd like to use CKEditor on my site- it's generating content in HTML, which I wanna pass from database later, into the view. Unfortunately, during passing model into the view, ASP.NET is converting the HTML tags into HTML entities- how to disable that, and pass plain HTML to my view? Or should I do this in a completely different way?

2
  • 2
    Have you tried using @Html.Raw()? Commented Sep 12, 2016 at 21:05
  • Thank you, that solved the problem! Commented Sep 12, 2016 at 21:46

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.