Good afternoon, everybody, there is text typed and formatted in HtmlTextEditor. But when outputting it via @ Html.DisplayFor all tags are displayed as text.
How to display it with regard to markup.
Good afternoon, everybody, there is text typed and formatted in HtmlTextEditor. But when outputting it via @ Html.DisplayFor all tags are displayed as text.
How to display it with regard to markup.
Use the helper @ Html.Raw (string)
Source: https://ru.stackoverflow.com/questions/544452/
All Articles