Skip to content

Commit

Permalink
PROD-1529
Browse files Browse the repository at this point in the history
  • Loading branch information
SaadYousaf authored and SaadYousaf committed Aug 11, 2020
1 parent 00a4e1b commit 0631b4b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cms/static/js/views/list_item.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
* to the DOM.
*/
define([
'js/views/baseview', 'jquery', 'gettext', 'common/js/components/utils/view_utils'
'js/views/baseview', 'jquery', 'gettext',
'common/js/components/utils/view_utils', 'edx-ui-toolkit/js/utils/html-utils'
], function(
BaseView, $, gettext, ViewUtils
BaseView, $, gettext, ViewUtils, HtmlUtils
) {
'use strict';

Expand Down Expand Up @@ -81,7 +82,7 @@ define([
this.view = this.createDetailsView();
}

this.$el.html(this.view.render().el);
this.$el.html(HtmlUtils.HTML(this.view.render().el).toString());

return this;
}
Expand Down

0 comments on commit 0631b4b

Please sign in to comment.