]> Untitled Git - lemmy-ui.git/commitdiff
Remove extra cross-post lines
authorDessalines <tyhou13@gmx.com>
Thu, 25 Mar 2021 17:30:25 +0000 (13:30 -0400)
committerDessalines <tyhou13@gmx.com>
Thu, 25 Mar 2021 17:30:25 +0000 (13:30 -0400)
src/shared/components/post-listing.tsx

index 32a176aafeaac4e0ae85860548805fda37b59f9f..d5d734fea9e1680c127c518823a1036cd0075301 100644 (file)
@@ -1293,7 +1293,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
     let post = this.props.post_view.post;
     let body = `${i18n.t("cross_posted_from")} ${
       post.ap_id
-    }\n\n---\n\n${post.body.replace(/^/gm, "> ")}`;
+    }\n\n${post.body.replace(/^/gm, "> ")}`;
     return body;
   }