fix: don't escape assignment names in grades API
We had been pre-escaping display names like 'Math & Science' as 'Math & Science" in the REST API itself - which meant that consumers like MFEs that do their own escaping displayed the wrong thing. It's better for the API to just leave the string as-is. As far as I know, this only affects the gradebook and progress pages, both of which do their own escaping of the result from the API already. AA-808
Showing
- common/lib/xmodule/xmodule/modulestore/tests/factories.py 1 addition, 1 deletioncommon/lib/xmodule/xmodule/modulestore/tests/factories.py
- lms/djangoapps/grades/course_grade.py 1 addition, 4 deletionslms/djangoapps/grades/course_grade.py
- lms/djangoapps/grades/subsection_grade.py 1 addition, 2 deletionslms/djangoapps/grades/subsection_grade.py
- lms/djangoapps/grades/tests/base.py 1 addition, 1 deletionlms/djangoapps/grades/tests/base.py
- lms/djangoapps/grades/tests/test_course_grade_factory.py 1 addition, 1 deletionlms/djangoapps/grades/tests/test_course_grade_factory.py
- lms/djangoapps/grades/tests/test_subsection_grade_factory.py 6 additions, 0 deletionslms/djangoapps/grades/tests/test_subsection_grade_factory.py
Please register or sign in to comment