Using Razor how/can you write straight text with out wrapping it in some type of html tag?
Example (This works but adds extra span tags):
@{ var foo = tr
use the tags
@{ var foo = true; } @if(foo) { Yes } else { No }
The tag signals to the razor view engine to write the contents to the output.
Alternatively, you can use @:
@:
@{ var foo = true; } @if(foo) { @:Yes } else { @:No }