1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-30 07:49:04 +09:00

fix custom emoji not shown in statuses

This commit is contained in:
Ondřej Hruška 2017-09-28 10:13:16 +02:00
parent 9a5418942c
commit 74e4fc8f8a
No known key found for this signature in database
GPG Key ID: 2C5FD5035250423D

View File

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