From 122e461f6fb76df9b34f21b96863c7705dc2f198 Mon Sep 17 00:00:00 2001 From: aaaaalbert Date: Sat, 3 Aug 2024 16:58:00 +0000 Subject: [PATCH] Change {{< type shortcode to {{% (#1489) Fix #1487, work around an error in the rendering of a {{< type shortcode in the autogenerated Table of Content of a page. --- content/en/entities/DomainBlock.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/entities/DomainBlock.md b/content/en/entities/DomainBlock.md index 32f517e..8b062f6 100644 --- a/content/en/entities/DomainBlock.md +++ b/content/en/entities/DomainBlock.md @@ -48,7 +48,7 @@ aliases: [ **Version history:**\ 4.0.0 - added -### `comment` {{}} {#comment} +### `comment` {{%optional%}} {#comment} **Description:** An optional reason for the domain block.\ **Type:** String\ @@ -59,4 +59,4 @@ aliases: [ {{< page-relref ref="methods/instance#domain_blocks" caption="GET /api/v1/instance/domain_blocks" >}} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/serializers/rest/domain_block_serializer.rb" caption="app/serializers/rest/domain_block_serializer.rb" >}} \ No newline at end of file +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/serializers/rest/domain_block_serializer.rb" caption="app/serializers/rest/domain_block_serializer.rb" >}}