From 2d8f759a342813c48e00412d17ec2517ed9ef761 Mon Sep 17 00:00:00 2001
From: Simon Rapilly <85184231+srapilly@users.noreply.github.com>
Date: Thu, 26 Oct 2023 16:34:15 -0400
Subject: [PATCH] Add HTML lang attribute to preview card descriptions (#27503)
---
app/javascript/mastodon/features/status/components/card.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/javascript/mastodon/features/status/components/card.jsx b/app/javascript/mastodon/features/status/components/card.jsx
index efd57c8716..684c599adb 100644
--- a/app/javascript/mastodon/features/status/components/card.jsx
+++ b/app/javascript/mastodon/features/status/components/card.jsx
@@ -143,7 +143,7 @@ export default class Card extends PureComponent {
{card.get('title')}
- {card.get('author_name').length > 0 ? {card.get('author_name')} }} /> : {card.get('description')}}
+ {card.get('author_name').length > 0 ? {card.get('author_name')} }} /> : {card.get('description')}}
);