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.
This commit is contained in:
parent
1f59ac9fde
commit
122e461f6f
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ aliases: [
|
||||||
**Version history:**\
|
**Version history:**\
|
||||||
4.0.0 - added
|
4.0.0 - added
|
||||||
|
|
||||||
### `comment` {{<optional>}} {#comment}
|
### `comment` {{%optional%}} {#comment}
|
||||||
|
|
||||||
**Description:** An optional reason for the domain block.\
|
**Description:** An optional reason for the domain block.\
|
||||||
**Type:** String\
|
**Type:** String\
|
||||||
|
@ -59,4 +59,4 @@ aliases: [
|
||||||
|
|
||||||
{{< page-relref ref="methods/instance#domain_blocks" caption="GET /api/v1/instance/domain_blocks" >}}
|
{{< 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" >}}
|
{{< 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" >}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue