Skip to content

Commit 5680ad3

Browse files
Proper use of markdownify
1 parent 3260703 commit 5680ad3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

layouts/shortcodes/publications.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@ <h2>{{ $year }}</h2>
3737
>
3838
<div class="publication-title">
3939
{{- with .url -}}<a href="{{ . }}">{{- end -}}
40-
{{- .title | safeHTML -}}
40+
{{- .title | markdownify -}}
4141
{{- if .url }}</a>{{ end -}}
4242
</div>
4343

4444
<div class="publication-authors">
45-
<span>{{ index . "authors-display" | safeHTML }}</span>
45+
<span>{{ index . "authors-display" | markdownify }}</span>
4646
</div>
4747

4848
{{- with $venue }}
49-
<div class="publication-venue">{{ . | safeHTML }}</div>
49+
<div class="publication-venue">{{ . | markdownify }}</div>
5050
{{ end -}}
5151

5252
{{- with .keywords -}}

0 commit comments

Comments
 (0)