Fixes #32 bug with revealing sensitive media
parent
e379ea4779
commit
d78f6efc32
|
@ -172,10 +172,12 @@ export default class StatusContent extends React.PureComponent {
|
||||||
ref={this.setRef}
|
ref={this.setRef}
|
||||||
className='status__content status__content--with-action'
|
className='status__content status__content--with-action'
|
||||||
style={directionStyle}
|
style={directionStyle}
|
||||||
|
>
|
||||||
|
<div
|
||||||
onMouseDown={this.handleMouseDown}
|
onMouseDown={this.handleMouseDown}
|
||||||
onMouseUp={this.handleMouseUp}
|
onMouseUp={this.handleMouseUp}
|
||||||
>
|
dangerouslySetInnerHTML={content}
|
||||||
<div dangerouslySetInnerHTML={content} />
|
/>
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -185,8 +187,6 @@ export default class StatusContent extends React.PureComponent {
|
||||||
ref={this.setRef}
|
ref={this.setRef}
|
||||||
className='status__content'
|
className='status__content'
|
||||||
style={directionStyle}
|
style={directionStyle}
|
||||||
onMouseDown={this.handleMouseDown}
|
|
||||||
onMouseUp={this.handleMouseUp}
|
|
||||||
>
|
>
|
||||||
<div dangerouslySetInnerHTML={content} />
|
<div dangerouslySetInnerHTML={content} />
|
||||||
{children}
|
{children}
|
||||||
|
|
Loading…
Reference in New Issue