blur spoilers

This commit is contained in:
Sorunome 2019-06-11 21:08:45 +02:00
parent d8f4512439
commit eddac4b188
No known key found for this signature in database
GPG key ID: 63E31F7B5993A9C4
2 changed files with 4 additions and 14 deletions

View file

@ -23,9 +23,7 @@ module.exports = React.createClass({
<span className={"mx_EventTile_spoiler" + (this.state.visible ? " visible" : "")} onClick={this.toggleVisible.bind(this)}>
{ reason }
&nbsp;
<span className="mx_EventTile_spoiler_content">
<span dangerouslySetInnerHTML={{ __html: this.props.contentHtml }} />
</span>
<span className="mx_EventTile_spoiler_content" dangerouslySetInnerHTML={{ __html: this.props.contentHtml }} />
</span>
);
}