From 755833c64cd89165400d842d4c3c5c310b5eec1e Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Wed, 31 Dec 2025 21:26:42 +0000 Subject: [PATCH] Fix whitespace preservation after collection/document names in email templates (#11034) * Initial plan * Fix missing whitespace after collection/document names in shared emails Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com> --- server/emails/templates/CollectionSharedEmail.tsx | 2 +- server/emails/templates/DocumentSharedEmail.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/emails/templates/CollectionSharedEmail.tsx b/server/emails/templates/CollectionSharedEmail.tsx index c576f661ba..acd2b59c0a 100644 --- a/server/emails/templates/CollectionSharedEmail.tsx +++ b/server/emails/templates/CollectionSharedEmail.tsx @@ -95,7 +95,7 @@ View Document: ${teamUrl}${collection.path} {collection.name}

{actorName} invited you to {permission} documents in the{" "} - {collection.name} collection. + {collection.name}{" "}collection.

diff --git a/server/emails/templates/DocumentSharedEmail.tsx b/server/emails/templates/DocumentSharedEmail.tsx index 49cd5642c3..bc94b5028d 100644 --- a/server/emails/templates/DocumentSharedEmail.tsx +++ b/server/emails/templates/DocumentSharedEmail.tsx @@ -94,7 +94,7 @@ View Document: ${teamUrl}${document.path} {document.titleWithDefault}

{actorName} invited you to {permission} the{" "} - {document.titleWithDefault} document. + {document.titleWithDefault}{" "}document.