mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#18206: User name in comments is escaped twice
Work Item: 18206 --HG-- branch : 1.x
This commit is contained in:
@@ -55,7 +55,7 @@ using (Html.BeginForm("Create", "Comment", new { area = "Orchard.Comments" }, Fo
|
|||||||
@Html.Hidden("Email", WorkContext.CurrentUser.Email ?? "")
|
@Html.Hidden("Email", WorkContext.CurrentUser.Email ?? "")
|
||||||
}
|
}
|
||||||
|
|
||||||
<h2 id="commenter">@if (WorkContext.CurrentUser != null) { @T("Hi, {0}!", Html.Encode(WorkContext.CurrentUser.UserName))}</h2>
|
<h2 id="commenter">@if (WorkContext.CurrentUser != null) { @T("Hi, {0}!", WorkContext.CurrentUser.UserName)}</h2>
|
||||||
<fieldset class="what">
|
<fieldset class="what">
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
Reference in New Issue
Block a user