diff --git a/common/lib/xmodule/xmodule/annotatable_module.py b/common/lib/xmodule/xmodule/annotatable_module.py index c974da2157..004484ddee 100644 --- a/common/lib/xmodule/xmodule/annotatable_module.py +++ b/common/lib/xmodule/xmodule/annotatable_module.py @@ -1,3 +1,5 @@ +from __future__ import absolute_import + import logging import textwrap @@ -5,6 +7,7 @@ from lxml import etree from pkg_resources import resource_string from xblock.fields import Scope, String +from openedx.core.djangolib.markup import HTML, Text from xmodule.raw_module import RawDescriptor from xmodule.x_module import XModule @@ -19,11 +22,11 @@ class AnnotatableFields(object): data = String( help=_("XML data for the annotation"), scope=Scope.content, - default=textwrap.dedent(""" + default=textwrap.dedent(HTML(u"""

Enter your (optional) instructions for the exercise in HTML format.

-

Annotations are specified by an <annotation> tag which may may have the following attributes:

+

Annotations are specified by an {}annotation{} tag which may may have the following attributes: