PROD-1529
This commit is contained in:
@@ -12,9 +12,10 @@
|
|||||||
* to the DOM.
|
* to the DOM.
|
||||||
*/
|
*/
|
||||||
define([
|
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(
|
], function(
|
||||||
BaseView, $, gettext, ViewUtils
|
BaseView, $, gettext, ViewUtils, HtmlUtils
|
||||||
) {
|
) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
@@ -81,7 +82,7 @@ define([
|
|||||||
this.view = this.createDetailsView();
|
this.view = this.createDetailsView();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$el.html(this.view.render().el);
|
this.$el.html(HtmlUtils.HTML(this.view.render().el).toString());
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user