diff --git a/common/lib/xmodule/xmodule/annotatable_module.py b/common/lib/xmodule/xmodule/annotatable_module.py
index 665be210e4..0cc567f7a1 100644
--- a/common/lib/xmodule/xmodule/annotatable_module.py
+++ b/common/lib/xmodule/xmodule/annotatable_module.py
@@ -81,6 +81,8 @@ class AnnotatableModule(XModule):
""" Renders annotatable content with annotation spans and returns HTML. """
xmltree = etree.fromstring(self.content)
xmltree.tag = 'div'
+ if 'display_name' in xmltree.attrib:
+ del xmltree.attrib['display_name']
index = 0
for el in xmltree.findall('.//annotation'):
diff --git a/common/lib/xmodule/xmodule/tests/test_annotatable_module.py b/common/lib/xmodule/xmodule/tests/test_annotatable_module.py
index 3a470879e8..3f9fe349a0 100644
--- a/common/lib/xmodule/xmodule/tests/test_annotatable_module.py
+++ b/common/lib/xmodule/xmodule/tests/test_annotatable_module.py
@@ -12,7 +12,7 @@ from . import test_system
class AnnotatableModuleTestCase(unittest.TestCase):
location = Location(["i4x", "edX", "toy", "annotatable", "guided_discussion"])
- sample_text = '''
+ sample_xml = '''
@@ -28,7 +28,7 @@ class AnnotatableModuleTestCase(unittest.TestCase):