summaryrefslogtreecommitdiffstats
path: root/ui/src/components/post-listing.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-07-01 09:04:26 -0400
committerDessalines <tyhou13@gmx.com>2020-07-01 09:04:26 -0400
commitcd007febef64b980ddfeed157d097f0d23d452a4 (patch)
tree3af2cda843437b1b4285689b1934f2512735c7f8 /ui/src/components/post-listing.tsx
parenta074564458b8a108b77d98e5e8ce24168656763a (diff)
parent5c03e9e9ee53639c93e63253d99998a85b282ab8 (diff)
Merge branch 'master' into federation
Diffstat (limited to 'ui/src/components/post-listing.tsx')
-rw-r--r--ui/src/components/post-listing.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx
index b4cc4f92..3d608842 100644
--- a/ui/src/components/post-listing.tsx
+++ b/ui/src/components/post-listing.tsx
@@ -197,6 +197,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
className="text-body"
href={post.url}
target="_blank"
+ rel="noopener"
title={post.url}
>
{this.imgThumb(this.getImage(true))}
@@ -227,6 +228,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
href={post.url}
target="_blank"
title={post.url}
+ rel="noopener"
>
<svg class="icon thumbnail">
<use xlinkHref="#icon-external-link"></use>
@@ -303,6 +305,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
href={post.url}
target="_blank"
title={post.url}
+ rel="noopener"
>
{post.name}
</a>
@@ -323,6 +326,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
href={post.url}
target="_blank"
title={post.url}
+ rel="noopener"
>
{hostname(post.url)}
<svg class="ml-1 icon icon-inline">