Replaced Html.Encode with the new <%: %> syntax for auto encoding

--HG--
branch : dev
This commit is contained in:
Phil Haack
2010-06-08 22:44:30 -07:00
parent 521ba68b61
commit 7108d92147
68 changed files with 117 additions and 117 deletions

View File

@@ -7,7 +7,7 @@
<%=Html.ValidationSummary() %>
<fieldset>
<div>
<h2><%=Html.Encode(Model.Name) %></h2>
<h2><%: Model.Name %></h2>
</div>
<div>
<label for="RequestUrlHost"><%=_Encoded("Host") %></label>

View File

@@ -9,7 +9,7 @@
<li class="tenant <%=tenant.State.CurrentState %>">
<div class="summary">
<div class="properties">
<h3><span class="tenantName"><%=Html.Encode(tenant.Name) %></span><%
<h3><span class="tenantName"><%: tenant.Name %></span><%
if (!string.IsNullOrEmpty(tenant.RequestUrlHost)) {
%><span class="tenantHost"> - <%=Html.Link(Url.Tenant(tenant), Url.Tenant(tenant))%></span><%
} %></h3>