Fix html rendering in shortcodes

This commit is contained in:
Richard van der Hoff 2022-11-02 23:09:43 +00:00
parent 8625722b7c
commit b6209574ab
2 changed files with 2 additions and 2 deletions

View file

@ -11,6 +11,6 @@
{{ with .Site.GetPage "client-server-api/modules" }}
{{ with .Resources.GetMatch (printf "%s%s" $name ".md") }}
{{ .Content }}
{{ .Content }}
{{ end }}
{{ end }}

View file

@ -24,6 +24,6 @@
{{ $content = (replace $content "[New in this version]" "") }}
{{ $content = (replace $content "[Changed in this version]" "") }}
{{ end }}
{{ $content | safeHTML }}
{{ $content | safeHTML }}
{{ end }}
{{ end }}