I have a controller which generate string containing html markups.Now when I am displaying it on views, it is displayed as simple string containing all tags.
I tried to u
I had a similar problem with HTML input fields in MVC. The web paged only showed the first keyword of the field.
Example: input field: "The quick brown fox" Displayed value: "The"
The resolution was to put the variable in quotes in the value statement as follows: