Skip to content

Commit

Permalink
Fix: raw html in header line
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Jan 13, 2024
1 parent 337213b commit 33275e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h5 class="text-sm flex items-center flex-wrap">
{{- $links := apply $sortedTranslations "partial" "translation_link.html" "." -}}
{{- $cleanLinks := apply $links "chomp" "." -}}
{{- $linksOutput := delimit $cleanLinks (i18n "translationsSeparator") -}}
&nbsp;&bull;&nbsp;{{ i18n "translationsLabel" }}&nbsp;{{ $linksOutput }}
&nbsp;&bull;&nbsp;{{ i18n "translationsLabel" }}&nbsp;{{ $linksOutput | safeHTML }}
{{- end }}
{{ end }}
</h5>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/blog-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{{- $links := apply $sortedTranslations "partial" "translation_link.html" "." -}}
{{- $cleanLinks := apply $links "chomp" "." -}}
{{- $linksOutput := delimit $cleanLinks (i18n "translationsSeparator") -}}
{{ i18n "translationsLabel" }}{{ $linksOutput }}
{{ i18n "translationsLabel" }}{{ $linksOutput | safeHTML }}
</div>
{{- end }}
{{ end }}
Expand Down

0 comments on commit 33275e5

Please sign in to comment.