diff options
| author | Michael <[email protected]> | 2017-04-04 19:52:43 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-04 19:52:43 -0400 |
| commit | 4972b04c452fd55cf8b90936701301c49d6a4b21 (patch) | |
| tree | b340d10f8cf0ee519c97c9d5a963f09b6b41cd72 | |
| parent | 6a9ce408d8ed641b6237026e833a286a2a6d3326 (diff) | |
| download | project-unite-4972b04c452fd55cf8b90936701301c49d6a4b21.tar.gz project-unite-4972b04c452fd55cf8b90936701301c49d6a4b21.tar.bz2 project-unite-4972b04c452fd55cf8b90936701301c49d6a4b21.zip | |
HTML formatting of logs.
| -rw-r--r-- | Project-Unite/Views/Admin/Logs.cshtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Project-Unite/Views/Admin/Logs.cshtml b/Project-Unite/Views/Admin/Logs.cshtml index 3fa066d..e993d5f 100644 --- a/Project-Unite/Views/Admin/Logs.cshtml +++ b/Project-Unite/Views/Admin/Logs.cshtml @@ -17,7 +17,7 @@ @foreach(var i in Model.OrderByDescending(x=>x.Timestamp)) { <tr> - <td>@i.Description</td> + <td>@Html.Raw(Html.Encode(i.Description))</td> <td>@Html.UserLink(i.UserId) at @i.Timestamp</td> <td>@i.Level</td> </tr> |
