Skip to content

Commit 5f15b9f

Browse files
committed
Relax m.markup's requirements
1 parent 3af300b commit 5f15b9f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

proposals/1767-extensible-events.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,15 @@ a minimum, a `m.markup` content block:
9090
```
9191

9292
`m.markup` has the following definitions associated with it:
93-
* An ordered array of mimetypes and applicable string content to represent a single
93+
* An *unordered* array of mimetypes and applicable string content to represent a single
9494
marked-up blob of text. Each element is known as a representation.
9595
* `body` in a representation is required, and must be a string.
9696
* `mimetype` is optional in a representation, and defaults to `text/plain`.
9797
* Zero representations are permitted, however senders should aim to always specify
9898
at least one.
9999
* Invalid representations are skipped by clients (missing `body`, not an object, etc).
100-
* The first representation a renderer understands should be used.
100+
* The client can choose which representation fits its purpose best, though generally
101+
the preferred representations should appear first in the array.
101102
* Senders are strongly encouraged to always include a plaintext representation,
102103
however are equally permitted to send an HTML representation instead.
103104
* The `mimetype` of a representation determines its `body` - no effort is made to

0 commit comments

Comments
 (0)