From 2fe7265188d828da25b079b5417493846285b846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Wed, 19 Oct 2022 12:30:30 +0200 Subject: [PATCH] doc: Fix sanitize feature name --- crates/ruma-common/src/doc/rich_reply.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruma-common/src/doc/rich_reply.md b/crates/ruma-common/src/doc/rich_reply.md index 1097e0c9..0c7c2dc3 100644 --- a/crates/ruma-common/src/doc/rich_reply.md +++ b/crates/ruma-common/src/doc/rich_reply.md @@ -7,7 +7,7 @@ the previous message, for which the room ID is required. If you want to reply to If the message was edited, the previous message should be the original message that was edited, with the content of its replacement, to allow the fallback to be accurate at the time it is added. -It is recommended to enable the `sanitize` feature when using this method as this will +It is recommended to enable the `unstable-sanitize` feature when using this method as this will clean up nested [rich reply fallbacks] in chains of replies. This uses [`sanitize_html()`] internally, with [`RemoveReplyFallback::Yes`].