After upgrading my system, I started to notice the “post-category” rendering issue.
The "
character is added to the beginning and end of the post-category
span and prevents from rendering the HTML.
This is the code fragment responsible for this issue:
{{- $categories := slice -}}
{{- range .Params.categories -}}
{{- $category := partialCached "function/path.html" . . | printf "/categories/%v" | $.Site.GetPage -}}
{{- $categories = $categories | append (printf `<a href="%v"><i class="svg-icon icon-folder"></i>%v</a>` $category.RelPermalink $category.Title) -}}
{{- end -}}
{{- with delimit $categories " " -}}
<span class="post-category">
{{ . }}
</span>
{{- end -}}
Any help is very much appreciated!