diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-10-22 18:52:59 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2018-10-22 18:57:20 +0200 |
commit | 0c7f710be1208397f2d803270a503c1224f19831 (patch) | |
tree | 753fcb82fecaf356abbb3317ad8f02370def45f3 /app/javascript/flavours/glitch/features/notifications/components/follow.js | |
parent | 323ae1403a7aef884d617decac36963afcc7fc70 (diff) |
[Glitch] Surround mid-text display names with bdi tags
Port 7861c5f108a8f8cb0450f3b1ef865b1177c706fc to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/features/notifications/components/follow.js')
-rw-r--r-- | app/javascript/flavours/glitch/features/notifications/components/follow.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/features/notifications/components/follow.js b/app/javascript/flavours/glitch/features/notifications/components/follow.js index 54506f67c..ea81d9ab4 100644 --- a/app/javascript/flavours/glitch/features/notifications/components/follow.js +++ b/app/javascript/flavours/glitch/features/notifications/components/follow.js @@ -63,13 +63,13 @@ export default class NotificationFollow extends ImmutablePureComponent { // Links to the display name. const displayName = account.get('display_name_html') || account.get('username'); const link = ( - <Permalink + <bdi><Permalink className='notification__display-name' href={account.get('url')} title={account.get('acct')} to={`/accounts/${account.get('id')}`} dangerouslySetInnerHTML={{ __html: displayName }} - /> + /></bdi> ); // Renders. |