summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2014-06-12 08:37:21 +0200
committerClaude Paroz <claude@2xlibre.net>2014-06-12 08:42:02 +0200
commit43372fc7aa50b52487f29fffdea3c597a0e8117f (patch)
tree5c9427158ec0a1317b1726f1d8caa89681c15d5d
parent6e8d614acd1b65a1ae472da7db88a7b2751dc388 (diff)
Prevented markup escape in 'Welcome to Django' page
Fixes a regression introduced in 5f24cf9705. Refs #22635. Thanks A.J. May for spotting the regression.
-rw-r--r--django/views/debug.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/views/debug.py b/django/views/debug.py
index 87f71d1eb0..eb610b7462 100644
--- a/django/views/debug.py
+++ b/django/views/debug.py
@@ -1164,13 +1164,13 @@ DEFAULT_URLCONF_TEMPLATE = """
<div id="instructions">
<p>
- {{ instructions }}
+ {{ instructions|safe }}
</p>
</div>
<div id="explanation">
<p>
- {{ explanation }}
+ {{ explanation|safe }}
</p>
</div>
</body></html>