I create a String in a view and want to output it to the screen.
Initially I tried Response.Write but, due to reasons explained elsewhere on this site, the content appeared at the top of the page. I then attempted to output the string using @ like so: @myString.
This worked, in that it output the text at the right location but it escaped HTML links that I had put in there. How do I get around this problem?
You can use
Html.Raw():