about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/account_timeline/components/moved_note.js
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-01-15 18:55:10 +0100
committerGitHub <noreply@github.com>2018-01-15 18:55:10 +0100
commit7861c5f108a8f8cb0450f3b1ef865b1177c706fc (patch)
tree15c52afc3b85731c4e8777779246636fdcb67f14 /app/javascript/mastodon/features/account_timeline/components/moved_note.js
parent3987bd18a4bfaee49ea9a3439fc51610aeca6c2c (diff)
Surround mid-text display names with bdi tags (#6257)
* Fix #1095 - Surround mid-text display names with bdi tags

* Update jest snapshot
Diffstat (limited to 'app/javascript/mastodon/features/account_timeline/components/moved_note.js')
-rw-r--r--app/javascript/mastodon/features/account_timeline/components/moved_note.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/account_timeline/components/moved_note.js b/app/javascript/mastodon/features/account_timeline/components/moved_note.js
index 1c0e081cc..280389bba 100644
--- a/app/javascript/mastodon/features/account_timeline/components/moved_note.js
+++ b/app/javascript/mastodon/features/account_timeline/components/moved_note.js
@@ -34,7 +34,7 @@ export default class MovedNote extends ImmutablePureComponent {
       <div className='account__moved-note'>
         <div className='account__moved-note__message'>
           <div className='account__moved-note__icon-wrapper'><i className='fa fa-fw fa-suitcase account__moved-note__icon' /></div>
-          <FormattedMessage id='account.moved_to' defaultMessage='{name} has moved to:' values={{ name: <strong dangerouslySetInnerHTML={displayNameHtml} /> }} />
+          <FormattedMessage id='account.moved_to' defaultMessage='{name} has moved to:' values={{ name: <bdi><strong dangerouslySetInnerHTML={displayNameHtml} /></bdi> }} />
         </div>
 
         <a href={to.get('url')} onClick={this.handleAccountClick} className='detailed-status__display-name'>