diff --git a/src/shared/components/post/post-form.tsx b/src/shared/components/post/post-form.tsx index 6c886286..7b379263 100644 --- a/src/shared/components/post/post-form.tsx +++ b/src/shared/components/post/post-form.tsx @@ -582,8 +582,10 @@ export class PostForm extends Component { case "loading": return ; case "success": { - const suggestedTitle = this.state.metadataRes.data.metadata.title; - + // Clean up the title of any extra whitespace and replace   with a space + const suggestedTitle = this.state.metadataRes.data.metadata.title + ?.trim() + .replace(/\s+/g, " "); return ( suggestedTitle && (