From aa50679676fd00ff9e6a40fdd11a1561718abc90 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Wed, 17 May 2023 07:41:29 -0400 Subject: [PATCH] Fix syntax. Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> --- content/client-server-api/modules/mentions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/client-server-api/modules/mentions.md b/content/client-server-api/modules/mentions.md index fab96ad6..87d905d7 100644 --- a/content/client-server-api/modules/mentions.md +++ b/content/client-server-api/modules/mentions.md @@ -25,12 +25,12 @@ the event contains the user's display name or ID. To avoid unintentional notific **it is recommended that clients include a `m.mentions` property on each event**. (If there are no mentions to include it can be an empty object.) -{% boxes/rationale %} +{{% boxes/rationale %}} In previous versions of the specification, mentioning users was done by including the user's display name or the localpart of their Matrix ID and room mentions were done by including the string "@room" in the plaintext `body` of the event. This was prone to confusing and buggy behaviour. -{% /boxes/rationale %} +{{% /boxes/rationale %}} #### Client behaviour