forked from treehouse/mastodon
status: turn quote author/text into links to original profile/post
parent
384ac613d8
commit
5025713c5a
|
@ -293,11 +293,14 @@ export default class StatusContent extends React.PureComponent {
|
|||
id='quote-right'
|
||||
aria-hidden='true'
|
||||
key='icon-quote-right' />
|
||||
<strong class="display-name__html"
|
||||
dangerouslySetInnerHTML={quoteStatusDisplayName} />
|
||||
<strong class="display-name__html">
|
||||
<a onClick={this.handleAccountClick} href={quoteStatus.getIn(['account', 'url'])} dangerouslySetInnerHTML={quoteStatusDisplayName} />
|
||||
</strong>
|
||||
</span>
|
||||
</bdi>
|
||||
<div dangerouslySetInnerHTML={quoteStatusContent} />
|
||||
<div>
|
||||
<a href={quoteStatus.get('url')} target='_blank' rel='noopener noreferrer' dangerouslySetInnerHTML={quoteStatusContent} />
|
||||
</div>
|
||||
</blockquote>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue