Skip to content

Commit a6ef6b7

Browse files
committed
Quick fix to remove double "encoding". Will have a more long term fix for comments going forward.
1 parent 66ce594 commit a6ef6b7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

source/DasBlog.Web.UI/Controllers/BlogPostController.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,6 @@ public IActionResult AddComment(AddCommentViewModel addcomment)
439439
return CommentError(addcomment, errors);
440440
}
441441

442-
addcomment.Content = dasBlogSettings.FilterHtml(addcomment.Content);
443-
444442
var commt = mapper.Map<NBR.Comment>(addcomment);
445443
commt.AuthorIPAddress = HttpContext.Connection.RemoteIpAddress.ToString();
446444
commt.AuthorUserAgent = HttpContext.Request.Headers["User-Agent"].ToString();

0 commit comments

Comments
 (0)