Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
authored September 19, 2008
4  django_website/templates/docs/detail.html
@@ -18,7 +18,7 @@ <h2 class="deck">
18 18
 {% endifequal %}
19 19
 </h2>
20 20
 
21  
-{{ doc.body }}
  21
+{{ doc.body|safe }}
22 22
 
23 23
 <div id="content-secondary">
24 24
   <h2 id="comments">Questions/Feedback</h2>
@@ -38,7 +38,7 @@ <h2 id="comments">Questions/Feedback</h2>
38 38
 
39 39
 {% block content-related %}
40 40
   <h2>Contents</h2>
41  
-  {{ doc.toc }}
  41
+  {{ doc.toc|safe }}
42 42
   <h3>Last update:</h3>
43 43
   <div>{{ update_date|date:"F j, Y, P" }} (<a href="http://www.timeanddate.com/worldclock/city.html?n=64">CDT</a>)</div>
44 44
 {% endblock %}
2  django_website/templates/docs/model_detail.html
@@ -18,7 +18,7 @@ <h2 class="deck">
18 18
 {% endifequal %}
19 19
 </h2>
20 20
 
21  
-{{ doc.fragment }}
  21
+{{ doc.fragment|safe }}
22 22
 
23 23
 <h2 id="model-source-code">Model source code</h2>
24 24
 <pre class="literal-block">{{ doc.model_source|escape }}</pre>

0 notes on commit 38a90d6

Please sign in to comment.
Something went wrong with that request. Please try again.