diff --git a/content/rooms/v3.md b/content/rooms/v3.md index ad9ff698..3e1b9c89 100644 --- a/content/rooms/v3.md +++ b/content/rooms/v3.md @@ -102,7 +102,7 @@ the [Handling Redactions](#handling-redactions) section. {{% /boxes/note %}} -{{< rver-fragment name="v3-auth-rules" withVersioning=true >}} +{{% rver-fragment name="v3-auth-rules" withVersioning=true %}} ## Unchanged from v2 diff --git a/content/rooms/v8.md b/content/rooms/v8.md index ab4cd970..ccce921d 100644 --- a/content/rooms/v8.md +++ b/content/rooms/v8.md @@ -87,7 +87,7 @@ room without invite. Otherwise, the room version inherits all properties of points for handling `content.join_authorised_via_users_server` are added (Rule 4.2 and 4.3.5). -{{< rver-fragment name="v8-auth-rules" withVersioning=true >}} +{{% rver-fragment name="v8-auth-rules" withVersioning=true %}} ### Redactions diff --git a/content/rooms/v9.md b/content/rooms/v9.md index cef269c6..bfbcead4 100644 --- a/content/rooms/v9.md +++ b/content/rooms/v9.md @@ -83,7 +83,7 @@ completeness. ### Authorization rules -{{< rver-fragment name="v8-auth-rules" >}} +{{% rver-fragment name="v8-auth-rules" %}} ### State resolution diff --git a/layouts/shortcodes/rver-fragment.html b/layouts/shortcodes/rver-fragment.html index a10be8b5..894e6f0b 100644 --- a/layouts/shortcodes/rver-fragment.html +++ b/layouts/shortcodes/rver-fragment.html @@ -19,7 +19,7 @@ {{ with .Site.GetPage "rooms/fragments" }} {{ with .Resources.GetMatch (printf "%s%s" $name ".md") }} - {{ $content := .Content }} + {{ $content := .RenderShortcodes }} {{ if not $withVersioning }} {{ $content = (replace $content "[New in this version]" "") }} {{ $content = (replace $content "[Changed in this version]" "") }}