mirror of
https://github.com/funamitech/mastodon
synced 2024-12-02 16:58:53 +09:00
fix custom emoji not shown in statuses
This commit is contained in:
parent
9a5418942c
commit
74e4fc8f8a
@ -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', {
|
||||||
|
Loading…
Reference in New Issue
Block a user