Is there a way to pass a string with HTML tags without changing the Razor code?
Scenario (current code):
string msg = "<a href='http://www.google.com/html/'>Google</a>";
OUTPUT:
<a href='http://www.google.com/html/'>Google</a> on the page.
GOAL result:
Link to Google without changing the code "@msg".
@Html.Raw(HttpUtility.HtmlDecode(msg));&, which should be output exactly as is to the page, will end up as&which is invalid.