1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-14 19:02:33 +03:00

blur spoilers

This commit is contained in:
Sorunome
2019-06-11 21:08:45 +02:00
parent d8f4512439
commit eddac4b188
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>
);
}