cloudscribe/cloudscribe.Logging

SystemLog is double html encoding the log content

Closed this issue · 2 comments

Razor automatically html encodes, but the /systemlog view is doing this at present:
@Html.Encode(item.Message)
whereas I'd have expected this:
@item.Message
resulting in the log page being rather hard to read. For example we see
"hello"
instead of
"hello".
Is there a good reason for this?

@CrispinF - I always end up overriding this view for that sole reason.

Implemented as part of commit for #31