Skip to content

Commit

Permalink
Merge pull request openedx#488 from MITx/kimth/fix-choiceresponse
Browse files Browse the repository at this point in the history
Protect asciimath2jax in seq_contents, fix choiceresponse on CS169x
  • Loading branch information
David Ormsbee committed Aug 21, 2012
2 parents baa4d3a + 5a65d62 commit bf49006
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lms/djangoapps/courseware/module_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lms/templates/seq_module.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</nav>

% for item in items:
<div class="seq_contents tex2jax_ignore">${item['content'] | h}</div>
<div class="seq_contents tex2jax_ignore asciimath2jax_ignore">${item['content'] | h}</div>
% endfor
<div id="seq_content"></div>

Expand Down

0 comments on commit bf49006

Please sign in to comment.