about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMasoud Abkenar <ampbox@gmail.com>2018-10-22 01:04:32 +0200
committerEugen Rochko <eugen@zeonfederated.com>2018-10-22 01:04:32 +0200
commitc7e9f9ff1ed1def7f14f6ca4ac2836005eeefa47 (patch)
treeea9c0897f0007515b754139b695c78fc615a5227
parent2e18ad74dcffb2e1aeec9f265becd3308c110a67 (diff)
RTL: remove blank character inside bdi (#9038)
* RTL: remove blank character inside bdi

* Update app/javascript/mastodon/components/display_name.js

Co-Authored-By: mabkenar <ampbox@gmail.com>
-rw-r--r--app/javascript/mastodon/components/display_name.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/display_name.js b/app/javascript/mastodon/components/display_name.js
index c2c40cb3f..31efab80a 100644
--- a/app/javascript/mastodon/components/display_name.js
+++ b/app/javascript/mastodon/components/display_name.js
@@ -22,7 +22,8 @@ export default class DisplayName extends React.PureComponent {
 
     return (
       <span className='display-name'>
-        <bdi><strong className='display-name__html' dangerouslySetInnerHTML={displayNameHtml} /></bdi> {suffix}
+        <bdi><strong className='display-name__html' dangerouslySetInnerHTML={displayNameHtml} /></bdi>
+        <span>{suffix}</span>
       </span>
     );
   }