From 3e13c5411276047e43d4bf7be122485006003abf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Mon, 26 Jan 2026 11:26:37 +0100 Subject: [PATCH 1/3] Spec for MSC4313: Require HTML
    start Attribute support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- content/client-server-api/modules/instant_messaging.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/client-server-api/modules/instant_messaging.md b/content/client-server-api/modules/instant_messaging.md index 5c8a802c..d1494702 100644 --- a/content/client-server-api/modules/instant_messaging.md +++ b/content/client-server-api/modules/instant_messaging.md @@ -84,6 +84,10 @@ Additionally, web clients should ensure that *all* `a` tags get a `rel="noopener"` to prevent the target page from referencing the client's tab/window. +{{% added-in v="1.18" %}} Clients that support the `ol` tag MUST also support +the `start` attribute in order to prevent loss of meaning of a message due to +the numbering of list items. + Tags must not be nested more than 100 levels deep. Clients should only support the subset of tags they can render, falling back to other representations of the tags where possible. For example, a client may From 9dbb0c8f7bc26f00eeaf352386ff59e7a9168de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Mon, 26 Jan 2026 11:29:08 +0100 Subject: [PATCH 2/3] Add changelog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- changelogs/client_server/newsfragments/2299.feature | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelogs/client_server/newsfragments/2299.feature diff --git a/changelogs/client_server/newsfragments/2299.feature b/changelogs/client_server/newsfragments/2299.feature new file mode 100644 index 00000000..dc36c6db --- /dev/null +++ b/changelogs/client_server/newsfragments/2299.feature @@ -0,0 +1 @@ +Clients supporting the `ol` HTML element must also support the `start` attribute, as per [MSC4313](https://github.com/matrix-org/matrix-spec-proposals/pull/4313). From e8faaf461de5583e7bb736e98d8f7691464abc44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 27 Jan 2026 12:06:25 +0100 Subject: [PATCH 3/3] Apply suggestion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- content/client-server-api/modules/instant_messaging.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/client-server-api/modules/instant_messaging.md b/content/client-server-api/modules/instant_messaging.md index d1494702..a64baa25 100644 --- a/content/client-server-api/modules/instant_messaging.md +++ b/content/client-server-api/modules/instant_messaging.md @@ -84,9 +84,9 @@ Additionally, web clients should ensure that *all* `a` tags get a `rel="noopener"` to prevent the target page from referencing the client's tab/window. -{{% added-in v="1.18" %}} Clients that support the `ol` tag MUST also support -the `start` attribute in order to prevent loss of meaning of a message due to -the numbering of list items. +{{% added-in v="1.18" %}} Clients that support rendering numbered lists via the +`ol` tag MUST also support the `start` attribute in order to prevent loss of +meaning of a message due to the numbering of list items. Tags must not be nested more than 100 levels deep. Clients should only support the subset of tags they can render, falling back to other