Razor automatically HTML-escapes all code output.
You can prevent this by writing @Html.Raw(...)
Alternatively, you can put the quotes in the literal text:
Your example works because you don't actually have any quotes.
The generated HTML source reads
.