diff --git a/release/side-comments.js b/release/side-comments.js index 9658261..0a451a2 100644 --- a/release/side-comments.js +++ b/release/side-comments.js @@ -748,7 +748,7 @@ Section.prototype.postComment = function() { commentBody = $commentBox.val(), comment = { sectionId: this.id, - comment: commentBody, + comment: commentBody.split(/<\s*[^>]*>/g).join(''), authorAvatarUrl: this.currentUser.avatarUrl, authorName: this.currentUser.name, authorId: this.currentUser.id,