diff --git a/layouts/partials/interactions.html b/layouts/partials/interactions.html index a07c1007..04f18064 100644 --- a/layouts/partials/interactions.html +++ b/layouts/partials/interactions.html @@ -53,7 +53,7 @@ {{ continue }} {{ end }}
  • - {{ .author.name }}: {{ .comment }} + {{ .author.name | replaceRE `(\?\x{200D}?){2,}` "" | strings.TrimSpace }}: {{ .comment }} ({{ partial "rel-date.html" (dict "time" .timestamp "rel" $.Page.PublishDate) }})
  • {{ end }} @@ -65,7 +65,7 @@
  • {{ partial "partials/reactionsvg.html" (dict "emoji" $thisEm "name" true) -}} {{- range $i, $in := $items -}} - {{ $in.author.name }} + {{ $in.author.name | replaceRE `(\?\x{200D}?){2,}` "" | strings.TrimSpace }} {{- if ne $i (sub (len $items) 1) }}, {{ end -}} {{- end -}}