fix custom emoji not shown in statuses

th-downstream
Ondřej Hruška 7 years ago
parent 3e3073081d
commit b769f9c0df

@ -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', {

Loading…
Cancel
Save