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>
main
Masoud Abkenar 2018-10-22 01:04:32 +02:00 committed by Eugen Rochko
parent 2e18ad74dc
commit c7e9f9ff1e
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ export default class DisplayName extends React.PureComponent {
return ( return (
<span className='display-name'> <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> </span>
); );
} }