const { status } = this.props;
const { hidden } = this.state;
- const content = { __html: emojify(status.get('content')) };
+ const content = { __html: emojify(status.get('content')).replace(/\n/g, '') };
const spoilerContent = { __html: emojify(escapeTextContentForBrowser(status.get('spoiler_text', ''))) };
const directionStyle = { direction: 'ltr' };
html = status.text
html = encode(html)
html = simple_format(html, {}, sanitize: false)
- html = html.gsub(/\n/, '')
html = link_urls(html)
html = link_mentions(html, status.mentions)
html = link_hashtags(html)