]> Untitled Git - lemmy-ui.git/commitdiff
Fix suggested post title html. Fixes #691 (#717)
authorDessalines <dessalines@users.noreply.github.com>
Sat, 30 Jul 2022 03:38:10 +0000 (23:38 -0400)
committerGitHub <noreply@github.com>
Sat, 30 Jul 2022 03:38:10 +0000 (23:38 -0400)
src/shared/components/post/post-form.tsx

index 4adab8f16425f9817bf6e862e4deaf53b498a328..dde1cb4237d88ce60eb0eefadb49e592b80e4d4b 100644 (file)
@@ -197,9 +197,7 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
                     role="button"
                     onClick={linkEvent(this, this.copySuggestedTitle)}
                   >
-                    {i18n.t("copy_suggested_title", {
-                      title,
-                    })}
+                    {i18n.t("copy_suggested_title", { title: "" })} {title}
                   </div>
                 ),
                 none: <></>,