From 08f6fa66e9fc2bf89a9a69cbe973484f05969c4b Mon Sep 17 00:00:00 2001 From: Dmytro <98233552+DmytroAlipov@users.noreply.github.com> Date: Wed, 26 Jul 2023 00:54:30 +0300 Subject: [PATCH] fix: Incorrect symbols on wiki create article page for Palm (#32701) This is a backport from master: https://github.com/openedx/edx-platform/pull/32628 --- lms/templates/wiki/base.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lms/templates/wiki/base.html b/lms/templates/wiki/base.html index 8ca99f2d5d97..c28a38a2c7e7 100644 --- a/lms/templates/wiki/base.html +++ b/lms/templates/wiki/base.html @@ -76,11 +76,15 @@ {% block wiki_breadcrumbs %}{% endblock %} {% if messages %} + {% comment %} + The message is not actually safe, but StatusAlertRenderer uses react which adds escaping, + so marking as safe keeps the message from being double-escaped. + {% endcomment %} {% for message in messages %}