aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/photos
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@animus.robocracy.org>2009-01-04 11:45:10 -0800
committerBryan Newbold <bnewbold@animus.robocracy.org>2009-01-04 11:45:10 -0800
commit8dce37b90c36c849e428cab6db9e883cf0cd21a4 (patch)
treeceec3866cbf95f4d2d5018e9a514515cc35898f6 /bn_django/photos
parent979f5901af8410ff138de0aa41013bfb193060d6 (diff)
downloadbnewnet-8dce37b90c36c849e428cab6db9e883cf0cd21a4.tar.gz
bnewnet-8dce37b90c36c849e428cab6db9e883cf0cd21a4.zip
un-escaped some html with |safe
Diffstat (limited to 'bn_django/photos')
-rw-r--r--bn_django/photos/templates/photos/photo_detail.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/bn_django/photos/templates/photos/photo_detail.html b/bn_django/photos/templates/photos/photo_detail.html
index 1278bda..121c36c 100644
--- a/bn_django/photos/templates/photos/photo_detail.html
+++ b/bn_django/photos/templates/photos/photo_detail.html
@@ -62,10 +62,10 @@ by {{ object.photographer }}.</p>
alt="{{ object.title }}" />
</a>
<div>
- <p class="photodesc"> {{ object.desc }} </p>
+ <p class="photodesc"> {{ object.desc|safe }} </p>
{% if object.extra %}
<h3 class="photoextra">More information</h3>
- <p class="photoextra">{{ object.extra }}</p>
+ <p class="photoextra">{{ object.extra|safe }}</p>
{% endif %}
</div>
</div>