Skip to content
Snippets Groups Projects
Commit f1c1c7c1 authored by Jonathan Piacenti's avatar Jonathan Piacenti
Browse files

Fix escaping issue in studio xblock wrapper for display name.

parent 2fe0bf5a
No related merge requests found
......@@ -11,7 +11,7 @@ xblock_url = xblock_studio_url(xblock)
show_inline = xblock.has_children and not xblock_url
section_class = "level-nesting" if show_inline else "level-element"
collapsible_class = "is-collapsible" if xblock.has_children else ""
label = xblock.display_name_with_default_escaped or xblock.scope_ids.block_type
label = xblock.display_name_with_default or xblock.scope_ids.block_type
messages = xblock.validate().to_json()
%>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment