From 8d5a2249cbf8502f374eaa67dbdf3ae796fc66c8 Mon Sep 17 00:00:00 2001 From: alipov_d Date: Mon, 3 Jul 2023 14:10:28 +0200 Subject: [PATCH] fix: Incorrect symbols on wiki create article page --- 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 %}