From aa4408a593ee8dc9f7b21c25737585f86768f978 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Tue, 12 Jul 2022 12:41:06 -0700 Subject: [PATCH] Fix kanji furigana HTML display --- themes/tegakituesday.com/layouts/challenges/single.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/tegakituesday.com/layouts/challenges/single.html b/themes/tegakituesday.com/layouts/challenges/single.html index 3c2d2eb..cb7ddfc 100644 --- a/themes/tegakituesday.com/layouts/challenges/single.html +++ b/themes/tegakituesday.com/layouts/challenges/single.html @@ -80,7 +80,7 @@ {{- range.text -}} {{- if reflect.IsMap . -}} {{- range $kanji, $furigana := . -}} - {{- $kanji -}}({{- $furigana -}}) + {{- $kanji | safeHTML -}}({{- $furigana | safeHTML -}}) {{- end -}} {{- else -}} {{- . -}} @@ -115,4 +115,4 @@ {{- define "secondaryFooter" -}} {{- partial "footer.html" (partial "footers/submissions.html" .) -}} -{{- end -}} \ No newline at end of file +{{- end -}}