From 521647e26f9cea339c20acec01b82b78401075e8 Mon Sep 17 00:00:00 2001 From: Val Lorentz Date: Sat, 1 Oct 2022 09:02:23 +0200 Subject: [PATCH] Fix definition of `data-mx-color` values --- content/client-server-api/modules/instant_messaging.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/client-server-api/modules/instant_messaging.md b/content/client-server-api/modules/instant_messaging.md index 7f9b3ca1..47440cd3 100644 --- a/content/client-server-api/modules/instant_messaging.md +++ b/content/client-server-api/modules/instant_messaging.md @@ -47,8 +47,9 @@ Not all attributes on those tags should be permitted as they may be avenues for other disruption attempts, such as adding `onclick` handlers or excessively large text. Clients should only permit the attributes listed for the tags below. Where `data-mx-bg-color` and `data-mx-color` -are listed, clients should translate the value (a 6-character hex color -code) to the appropriate CSS/attributes for the tag. +are listed, clients should translate the value (a `#` character followed +by a 6-character hex color code) to the appropriate CSS/attributes for +the tag. `font` `data-mx-bg-color`, `data-mx-color`, `color`