Razor2 fixups

Fixed an issue where rending an attribute in a html tag with code inside it was failing:

&lt;a href="~/@Model.Id"&gt;@Model.Name&lt;/a&gt;