From 66a62b1670346b9ba74bf189cac69785bccfcf98 Mon Sep 17 00:00:00 2001 From: Ahtisham Shahid Date: Tue, 16 Mar 2021 18:43:29 +0500 Subject: [PATCH] Fixed rendering issue in course title (#27003) --- common/lib/xmodule/xmodule/block_metadata_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/block_metadata_utils.py b/common/lib/xmodule/xmodule/block_metadata_utils.py index 8db6e37bc2..a672994bbb 100644 --- a/common/lib/xmodule/xmodule/block_metadata_utils.py +++ b/common/lib/xmodule/xmodule/block_metadata_utils.py @@ -79,4 +79,4 @@ def display_name_with_default_escaped(block): # This escaping is incomplete. However, rather than switching this to use # markupsafe.escape() and fixing issues, better to put that energy toward # migrating away from this method altogether. - return escape(display_name_with_default(block)) + return escape(display_name_with_default(block)).replace('&', '&')