fixed placement of space in fallback

This commit is contained in:
Rye committed 2026-03-19 20:34:49 +01:00
1 parent b7a1cb8d7e
commit 269e7a16bc
1 file changed
+1 -1
+1 -1
View File
@@ -724,7 +724,7 @@ export const RoomInput = forwardRef<HTMLDivElement, RoomInputProps>(
*/
const escapedName = sanitizeCustomHtml(perMessageProfile.name);
const htmlPrefix = `<strong data-mx-profile-fallback>${escapedName}:</strong> `;
const htmlPrefix = `<strong data-mx-profile-fallback>${escapedName}: </strong>`;
if (content.formatted_body && !content.formatted_body.startsWith(htmlPrefix)) {
content.formatted_body = htmlPrefix + content.formatted_body;