mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-27 12:29:04 +08:00
Replaced Html.Encode with the new <%: %> syntax for auto encoding
--HG-- branch : dev
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user