mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-27 21:44:10 +01:00
Fix html rendering in shortcodes
This commit is contained in:
parent
8625722b7c
commit
b6209574ab
|
|
@ -11,6 +11,6 @@
|
||||||
|
|
||||||
{{ with .Site.GetPage "client-server-api/modules" }}
|
{{ with .Site.GetPage "client-server-api/modules" }}
|
||||||
{{ with .Resources.GetMatch (printf "%s%s" $name ".md") }}
|
{{ with .Resources.GetMatch (printf "%s%s" $name ".md") }}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,6 @@
|
||||||
{{ $content = (replace $content "[New in this version]" "") }}
|
{{ $content = (replace $content "[New in this version]" "") }}
|
||||||
{{ $content = (replace $content "[Changed in this version]" "") }}
|
{{ $content = (replace $content "[Changed in this version]" "") }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $content | safeHTML }}
|
{{ $content | safeHTML }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue