fix custom emoji not shown in statuses

lolsob-rspec
Ondřej Hruška 2017-09-28 10:13:16 +02:00
parent 3e3073081d
commit b769f9c0df
1 changed files with 2 additions and 4 deletions

View File

@ -131,11 +131,9 @@ export default class StatusContent extends React.PureComponent {
this.state.hidden this.state.hidden
); );
const content = { __html: emojify(status.get('content')) }; const content = { __html: status.get('contentHtml') };
const spoilerContent = { const spoilerContent = {
__html: emojify(escapeTextContentForBrowser( __html: status.get('spoilerHtml'),
status.get('spoiler_text', '')
)),
}; };
const directionStyle = { direction: 'ltr' }; const directionStyle = { direction: 'ltr' };
const classNames = classnames('status__content', { const classNames = classnames('status__content', {