diff --git a/common/static/common/js/discussion/views/response_comment_edit_view.js b/common/static/common/js/discussion/views/response_comment_edit_view.js index 34cfa4153a..c2cafdfc7e 100644 --- a/common/static/common/js/discussion/views/response_comment_edit_view.js +++ b/common/static/common/js/discussion/views/response_comment_edit_view.js @@ -43,8 +43,11 @@ ResponseCommentEditView.prototype.render = function() { var context = $.extend({mode: this.options.mode, startHeader: this.options.startHeader}, this.model.attributes); - this.template = _.template($('#response-comment-edit-template').html()); - this.$el.html(this.template(context)); + this.template = edx.HtmlUtils.template($('#response-comment-edit-template').html()); + edx.HtmlUtils.setHtml( + this.$el, + this.template(context) + ); this.delegateEvents(); DiscussionUtil.makeWmdEditor(this.$el, $.proxy(this.$, this), 'edit-comment-body'); return this;