Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[djangoproject.com] autoescaping strikes again

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@9075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 38a90d656472263939f1ac6ebd5b515cd30d51ec 1 parent e0ff3ac
jacob authored
View
4 django_website/templates/docs/detail.html
@@ -18,7 +18,7 @@ <h2 class="deck">
{% endifequal %}
</h2>
-{{ doc.body }}
+{{ doc.body|safe }}
<div id="content-secondary">
<h2 id="comments">Questions/Feedback</h2>
@@ -38,7 +38,7 @@ <h2 id="comments">Questions/Feedback</h2>
{% block content-related %}
<h2>Contents</h2>
- {{ doc.toc }}
+ {{ doc.toc|safe }}
<h3>Last update:</h3>
<div>{{ update_date|date:"F j, Y, P" }} (<a href="http://www.timeanddate.com/worldclock/city.html?n=64">CDT</a>)</div>
{% endblock %}
View
2  django_website/templates/docs/model_detail.html
@@ -18,7 +18,7 @@ <h2 class="deck">
{% endifequal %}
</h2>
-{{ doc.fragment }}
+{{ doc.fragment|safe }}
<h2 id="model-source-code">Model source code</h2>
<pre class="literal-block">{{ doc.model_source|escape }}</pre>
Please sign in to comment.
Something went wrong with that request. Please try again.