From: Eugen Rochko Date: Mon, 15 Jan 2018 17:55:10 +0000 (+0100) Subject: Surround mid-text display names with bdi tags (#6257) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=7861c5f108a8f8cb0450f3b1ef865b1177c706fc;p=mastodon.git Surround mid-text display names with bdi tags (#6257) * Fix #1095 - Surround mid-text display names with bdi tags * Update jest snapshot --- diff --git a/app/javascript/mastodon/components/__tests__/__snapshots__/display_name-test.js.snap b/app/javascript/mastodon/components/__tests__/__snapshots__/display_name-test.js.snap index 533359ffe..29fdc2412 100644 --- a/app/javascript/mastodon/components/__tests__/__snapshots__/display_name-test.js.snap +++ b/app/javascript/mastodon/components/__tests__/__snapshots__/display_name-test.js.snap @@ -4,14 +4,16 @@ exports[` renders display name + account name 1`] = ` - Foo

", + + Foo

", + } } - } - /> + /> +
- @{this.props.account.get('acct')} + @{this.props.account.get('acct')} ); } diff --git a/app/javascript/mastodon/components/status.js b/app/javascript/mastodon/components/status.js index d23ff87fa..2600d68ad 100644 --- a/app/javascript/mastodon/components/status.js +++ b/app/javascript/mastodon/components/status.js @@ -162,7 +162,7 @@ export default class Status extends ImmutablePureComponent { prepend = (
- }} /> + }} />
); 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 {