Author: jacob
Date: 2008-09-19 16:01:11 -0500 (Fri, 19 Sep 2008)
New Revision: 9075
Modified:
djangoproject.com/django_website/templates/docs/detail.html
djangoproject.com/django_website/templates/docs/model_detail.html
Log:
[djangoproject.com] autoescaping strikes again
Modified: djangoproject.com/django_website/templates/docs/detail.html
===================================================================
--- djangoproject.com/django_website/templates/docs/detail.html 2008-09-19
20:57:46 UTC (rev 9074)
+++ djangoproject.com/django_website/templates/docs/detail.html 2008-09-19
21:01:11 UTC (rev 9075)
@@ -18,7 +18,7 @@
{% endifequal %}
</h2>
-{{ doc.body }}
+{{ doc.body|safe }}
<div id="content-secondary">
<h2 id="comments">Questions/Feedback</h2>
@@ -38,7 +38,7 @@
{% 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 %}
Modified: djangoproject.com/django_website/templates/docs/model_detail.html
===================================================================
--- djangoproject.com/django_website/templates/docs/model_detail.html
2008-09-19 20:57:46 UTC (rev 9074)
+++ djangoproject.com/django_website/templates/docs/model_detail.html
2008-09-19 21:01:11 UTC (rev 9075)
@@ -18,7 +18,7 @@
{% 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>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---