From f83169f12d19818f8a052abe48fa5d9cc2ebc3fb Mon Sep 17 00:00:00 2001 From: kimth Date: Tue, 21 Aug 2012 17:54:21 -0400 Subject: [PATCH] Protect asciimath2jax in seq_contents, fix choiceresponse on CS169x --- lms/djangoapps/courseware/module_render.py | 2 +- lms/templates/seq_module.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/djangoapps/courseware/module_render.py b/lms/djangoapps/courseware/module_render.py index a61e8b9e23..65e30475f2 100644 --- a/lms/djangoapps/courseware/module_render.py +++ b/lms/djangoapps/courseware/module_render.py @@ -374,7 +374,7 @@ def modx_dispatch(request, dispatch, location, course_id): # ''' (fix emacs broken parsing) # Check for submitted files and basic file size checks - p = request.POST.dict() + p = request.POST.copy() if request.FILES: for fileinput_id in request.FILES.keys(): inputfiles = request.FILES.getlist(fileinput_id) diff --git a/lms/templates/seq_module.html b/lms/templates/seq_module.html index be0f4902d4..985e3c9851 100644 --- a/lms/templates/seq_module.html +++ b/lms/templates/seq_module.html @@ -21,7 +21,7 @@ % for item in items: -
${item['content'] | h}
+
${item['content'] | h}
% endfor