diff --git a/cms/djangoapps/contentstore/views/item.py b/cms/djangoapps/contentstore/views/item.py index 9105ee2067..130ef01bb0 100644 --- a/cms/djangoapps/contentstore/views/item.py +++ b/cms/djangoapps/contentstore/views/item.py @@ -886,7 +886,7 @@ def create_xblock_info(xblock, data=None, metadata=None, include_ancestor_info=F xblock_info = { "id": unicode(xblock.location), - "display_name": xblock.display_name_with_default_escaped, + "display_name": xblock.display_name_with_default, "category": xblock.category, "edited_on": get_default_time_display(xblock.subtree_edited_on) if xblock.subtree_edited_on else None, "published": published, @@ -1158,4 +1158,4 @@ def _xblock_type_and_display_name(xblock): """ return _('{section_or_subsection} "{display_name}"').format( section_or_subsection=xblock_type_display_name(xblock), - display_name=xblock.display_name_with_default_escaped) + display_name=xblock.display_name_with_default) diff --git a/cms/templates/js/course-outline.underscore b/cms/templates/js/course-outline.underscore index 8d0f4a8eb2..235761c37d 100644 --- a/cms/templates/js/course-outline.underscore +++ b/cms/templates/js/course-outline.underscore @@ -85,11 +85,11 @@ if (is_proctored_exam) { <% } %> <% if (xblockInfo.isVertical()) { %> - <%= xblockInfo.get('display_name') %> + <%- xblockInfo.get('display_name') %> <% } else { %> "> - <%= xblockInfo.get('display_name') %> + <%- xblockInfo.get('display_name') %> <% } %> diff --git a/cms/templates/js/unit-outline.underscore b/cms/templates/js/unit-outline.underscore index 191e10f0d7..7e2685716d 100644 --- a/cms/templates/js/unit-outline.underscore +++ b/cms/templates/js/unit-outline.underscore @@ -4,7 +4,7 @@

- <%= xblockInfo.get('display_name') %> + <%- xblockInfo.get('display_name') %>

diff --git a/cms/templates/js/xblock-outline.underscore b/cms/templates/js/xblock-outline.underscore index c4cdc9ef9c..9c8c01475a 100644 --- a/cms/templates/js/xblock-outline.underscore +++ b/cms/templates/js/xblock-outline.underscore @@ -17,10 +17,10 @@ <% } %> <% if (xblockInfo.get('studio_url') && xblockInfo.get('category') !== 'chapter') { %> - <%= xblockInfo.get('display_name') %> + <%- xblockInfo.get('display_name') %> <% } else { %> - <%= xblockInfo.get('display_name') %> + <%- xblockInfo.get('display_name') %> <% } %>