diff --git a/server/commands/documentUpdater.ts b/server/commands/documentUpdater.ts index ab167f177..be3d7496d 100644 --- a/server/commands/documentUpdater.ts +++ b/server/commands/documentUpdater.ts @@ -53,7 +53,7 @@ export default async function documentUpdater({ const previousTitle = document.title; if (title !== undefined) { - document.title = title; + document.title = title.trim(); } if (editorVersion) { document.editorVersion = editorVersion;