Fixed rendering issue in course title (#27003)

This commit is contained in:
Ahtisham Shahid
2021-03-16 18:43:29 +05:00
committed by GitHub
parent 90f5e42dbd
commit 66a62b1670

View File

@@ -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('&', '&')