Using Razor, how can you write plain text without wrapping it in any html tag?
Example (this works, but adds extra span tags):
@{ var foo = true; } @if(foo) { <span>Yes</span> } else { <span>No</span> }
I want my final markup to be as clean as possible and not have additional tags.
Thank!
asp.net-mvc-3
matto0 Mar 27 '11 at 18:37 2011-03-27 18:37
source share