Commit d95be5aa by Calen Pennington

Fix html rendering after making it a RawDescriptor

parent b9dd30cd
......@@ -15,7 +15,7 @@ class HtmlModule(XModule):
def __init__(self, system, location, definition, instance_state=None, shared_state=None, **kwargs):
XModule.__init__(self, system, location, definition, instance_state, shared_state, **kwargs)
self.html = self.definition['data']['text']
self.html = self.definition['data']
class HtmlDescriptor(RawDescriptor):
......
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