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?
Asked
Active
Viewed 140 times
0
-
2Have you tried using `@Html.Raw()`? – DavidG Sep 12 '16 at 21:05
-
Thank you, that solved the problem! – SaszaKonopka Sep 12 '16 at 21:46