Move changed-in annotation

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2024-02-26 15:36:27 +01:00
parent 46c8763614
commit 5fb91e9907
No known key found for this signature in database
GPG key ID: 29A48C1F03620416

View file

@ -19,8 +19,6 @@ room itself such as a room name and topic.
##### m.room.message msgtypes ##### m.room.message msgtypes
{{% changed-in v="1.10" %}}
Each [m.room.message](#mroommessage) MUST have a `msgtype` key which identifies the Each [m.room.message](#mroommessage) MUST have a `msgtype` key which identifies the
type of message being sent. Each type has their own required and type of message being sent. Each type has their own required and
optional keys, as outlined below. If a client cannot display the given optional keys, as outlined below. If a client cannot display the given
@ -35,10 +33,11 @@ field is present, a `formatted_body` with the HTML must be provided. The plain
text version of the HTML should be provided in the `body`. text version of the HTML should be provided in the `body`.
{{% boxes/note %}} {{% boxes/note %}}
Until v1.10 of the spec, the `format` and `formatted` fields were limited to {{% changed-in v="1.10" %}}
`m.text`, `m.emote`, `m.notice`, and `m.key.verification.request`. As of v1.10 In previous versions of the specification, the `format` and `formatted` fields
this list is now expanded to include `m.image`, `m.file`, `m.audio` and were limited to `m.text`, `m.emote`, `m.notice`, and
`m.video` for [media captions](#media-captions). `m.key.verification.request`. This list is expanded to include `m.image`,
`m.file`, `m.audio` and `m.video` for [media captions](#media-captions).
{{% /boxes/note %}} {{% /boxes/note %}}
Clients should limit the HTML they render to avoid Cross-Site Scripting, Clients should limit the HTML they render to avoid Cross-Site Scripting,