I have a URL I would like to render in an anchor tag as-is in a Razor view. I would have thought Html.Raw would be the way to go:
@{ string test = \"http
just try below... It works perfect.
@{ string test = "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token="+@ViewBag.Token; } @Html.Raw(System.Web.HttpUtility.HtmlDecode(test))