Commit 1e194f0e by Vik Paruchuri Committed by Victor Shnayder

Fix rubric code, make sure it is removed properly.

parent d71445f9
......@@ -72,7 +72,7 @@ global_context = {'random': random,
'miller': chem.miller}
# These should be removed from HTML output, including all subelements
html_problem_semantics = ["codeparam", "responseparam", "answer", "script", "hintgroup", "openendedparam"]
html_problem_semantics = ["codeparam", "responseparam", "answer", "script", "hintgroup", "openendedparam","openendedrubric"]
log = logging.getLogger('mitx.' + __name__)
......
......@@ -1846,8 +1846,8 @@ class OpenEndedResponse(LoncapaResponse):
#Look for tag named openendedparam that encapsulates all grader settings
oeparam = self.xml.find('openendedparam')
prompt=self.xml.find('prompt')
rubric=self.xml.find('rubric')
self._parse_openendedresponse_xml(oeparam,prompt)
rubric=self.xml.find('openendedrubric')
self._parse_openendedresponse_xml(oeparam,prompt,rubric)
def stringify_children(self,node,strip_tags=True):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment