Razor2 fixups

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