ASP.NET MVC Razor - output HTML string non escaped
How do you show (safe) HTML saved in DB in a Razor view? It always escapes stuff like <.
Supposing your content is inside a string named mystring...
In releases from Beta 2 and earlier you can do:
In releases after Beta 2 you will be able to do:
Join the discussion