Merge pull request #8196 from edx/release
Merge hotfix from release to master
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<%! import json %>
|
||||
<%! from django.core.urlresolvers import reverse %>
|
||||
<%! from django.utils.translation import ugettext as _ %>
|
||||
<%! from xmodule.modulestore import EdxJSONEncoder %>
|
||||
<%! from openedx.core.lib.json_utils import EscapedEdxJSONEncoder %>
|
||||
|
||||
<%inherit file="/main.html" />
|
||||
<%namespace name='static' file='/static_content.html'/>
|
||||
@@ -39,7 +39,7 @@
|
||||
<script>
|
||||
(function (require) {
|
||||
require(['js/student_profile/views/learner_profile_factory'], function(setupLearnerProfile) {
|
||||
var options = ${ json.dumps(data, cls=EdxJSONEncoder) };
|
||||
var options = ${ json.dumps(data, cls=EscapedEdxJSONEncoder) };
|
||||
setupLearnerProfile(options);
|
||||
});
|
||||
}).call(this, require || RequireJS.require);
|
||||
|
||||
Reference in New Issue
Block a user