Fixed missing markdownification
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
{{- if $isBlock }}
|
||||
<figure>
|
||||
<img src="{{ $imgPath | safeURL }}" alt="{{ $alt }}" title="{{ $title }}">
|
||||
{{- with $title }}<figcaption>{{ . }}</figcaption>{{ end }}
|
||||
{{- with $title }}<figcaption>{{ . | markdownify }}</figcaption>{{ end }}
|
||||
</figure>
|
||||
{{- else }}
|
||||
<img src="{{ $imgPath | safeURL }}" alt="{{ $alt }}" title="{{ $title }}">
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
{{ with $coverData.description }}
|
||||
<section class="image-description">
|
||||
<p>{{ . }}</p>
|
||||
<p>{{ .| markdownify }}</p>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user