Keep newlines in xml (#1397)

This commit is contained in:
Rachel H authored and Eugen committed 2017-04-10 21:32:45 +02:00
1 parent 553170b77a
commit f690320fb9
2 files changed
+1 -2

No files matched your search

@@ -91,7 +91,7 @@ const StatusContent = React.createClass({
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' };