diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Controllers/CommentController.cs b/src/Orchard.Web/Modules/Orchard.Comments/Controllers/CommentController.cs index a338025eb..96f6f095d 100644 --- a/src/Orchard.Web/Modules/Orchard.Comments/Controllers/CommentController.cs +++ b/src/Orchard.Web/Modules/Orchard.Comments/Controllers/CommentController.cs @@ -33,9 +33,9 @@ namespace Orchard.Comments.Controllers { var editorShape = Services.ContentManager.UpdateEditor(comment, this); - Services.ContentManager.Create(comment); - if (ModelState.IsValid) { + Services.ContentManager.Create(comment); + var commentPart = comment.As(); // ensure the comments are not closed on the container, as the html could have been tampered manually