summaryrefslogtreecommitdiff
path: root/design/templates/lib/img_picfull.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2016-09-21 12:47:49 -0400
committerluxagraf <sng@luxagraf.net>2016-09-21 12:47:49 -0400
commitf096b05e49fdd04c6a484e2b6182e68d2ff9a4a7 (patch)
tree9e0263f4ccb66c3368761316b5e68eabb83a8931 /design/templates/lib/img_picfull.html
parent1909e3bd0ccf991ab7d0808971efecf3ad751f2e (diff)
added html rendering to picture captions
Diffstat (limited to 'design/templates/lib/img_picfull.html')
-rw-r--r--design/templates/lib/img_picfull.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/lib/img_picfull.html b/design/templates/lib/img_picfull.html
index 5dba01d..7e9c23e 100644
--- a/design/templates/lib/img_picfull.html
+++ b/design/templates/lib/img_picfull.html
@@ -4,6 +4,6 @@
<img class="picfull" sizes="(max-width: 680px) 100vw, (min-width: 681) 680px"
srcset="{% for size in image.sizes.all%}{% get_image_by_size image size %} {{size}}w{% if forloop.last%}"{%else%}, {%endif%}{%endfor%}
{% for size in image.sizes.all%}{%if forloop.first %}src="{% get_image_by_size image size %}"{%endif%}{%endfor%} alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}">
- {% if caption %}<figcaption>{{image.caption}}</figcaption>
+ {% if caption %}<figcaption>{{image.caption|safe}}</figcaption>
</figure>
{% endif %}