|
|
@ -198,7 +198,7 @@ export default class StatusContent extends React.PureComponent { |
|
|
|
<p |
|
|
|
<p |
|
|
|
style={{ marginBottom: hidden && status.get('mentions').isEmpty() ? '0px' : null }} |
|
|
|
style={{ marginBottom: hidden && status.get('mentions').isEmpty() ? '0px' : null }} |
|
|
|
> |
|
|
|
> |
|
|
|
<span dangerouslySetInnerHTML={spoilerContent} /> |
|
|
|
<span dangerouslySetInnerHTML={spoilerContent} lang={status.get('language')} /> |
|
|
|
{' '} |
|
|
|
{' '} |
|
|
|
<button tabIndex='0' className='status__content__spoiler-link' onClick={this.handleSpoilerClick}> |
|
|
|
<button tabIndex='0' className='status__content__spoiler-link' onClick={this.handleSpoilerClick}> |
|
|
|
{toggleText} |
|
|
|
{toggleText} |
|
|
@ -213,6 +213,7 @@ export default class StatusContent extends React.PureComponent { |
|
|
|
style={directionStyle} |
|
|
|
style={directionStyle} |
|
|
|
tabIndex={!hidden ? 0 : null} |
|
|
|
tabIndex={!hidden ? 0 : null} |
|
|
|
dangerouslySetInnerHTML={content} |
|
|
|
dangerouslySetInnerHTML={content} |
|
|
|
|
|
|
|
lang={status.get('language')} |
|
|
|
/> |
|
|
|
/> |
|
|
|
{media} |
|
|
|
{media} |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -231,6 +232,7 @@ export default class StatusContent extends React.PureComponent { |
|
|
|
<div |
|
|
|
<div |
|
|
|
ref={this.setRef} |
|
|
|
ref={this.setRef} |
|
|
|
dangerouslySetInnerHTML={content} |
|
|
|
dangerouslySetInnerHTML={content} |
|
|
|
|
|
|
|
lang={status.get('language')} |
|
|
|
tabIndex='0' |
|
|
|
tabIndex='0' |
|
|
|
/> |
|
|
|
/> |
|
|
|
{media} |
|
|
|
{media} |
|
|
@ -243,7 +245,7 @@ export default class StatusContent extends React.PureComponent { |
|
|
|
style={directionStyle} |
|
|
|
style={directionStyle} |
|
|
|
tabIndex='0' |
|
|
|
tabIndex='0' |
|
|
|
> |
|
|
|
> |
|
|
|
<div ref={this.setRef} dangerouslySetInnerHTML={content} tabIndex='0' /> |
|
|
|
<div ref={this.setRef} dangerouslySetInnerHTML={content} lang={status.get('language')} tabIndex='0' /> |
|
|
|
{media} |
|
|
|
{media} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
); |
|
|
|
); |
|
|
|