fix image captions being rendered incorrectly with quotes

This commit is contained in:
Joshua Goins 2022-11-16 10:53:18 -05:00
parent ef29c86026
commit 18d16caf1a

View file

@ -15,7 +15,7 @@
<img class="article-img" width="{{ $img.Width }}" height="{{ $img.Height }}" src="{{ $img.RelPermalink }}" alt="{{ $.Text }}" /> <img class="article-img" width="{{ $img.Width }}" height="{{ $img.Height }}" src="{{ $img.RelPermalink }}" alt="{{ $.Text }}" />
{{ end }} {{ end }}
</a> </a>
<figcaption>{{ $.Text }}</figcaption> <figcaption>{{ $.Text | safeHTML }}</figcaption>
</figure> </figure>
{{- else -}} {{- else -}}