diff --git a/common/lib/xmodule/xmodule/html_module.py b/common/lib/xmodule/xmodule/html_module.py index 5e7c1f7e3f..171a021856 100644 --- a/common/lib/xmodule/xmodule/html_module.py +++ b/common/lib/xmodule/xmodule/html_module.py @@ -73,7 +73,9 @@ class HtmlDescriptor(XmlDescriptor, EditingDescriptor): cls.clean_metadata_from_xml(definition_xml) return {'data': stringify_children(definition_xml)} else: - filepath = cls._format_filepath(xml_object.tag, filename) + # html is special. cls.filename_extension is 'xml', but if 'filename' is in the definition, + # that means to load from .html + filepath = "{category}/{name}.html".format(category='html', name=filename) # VS[compat] # TODO (cpennington): If the file doesn't exist at the right path,