Merge pull request 'Turn quote author/text into links back to the original profile/post' (#37) from ar/mastodon:turn-quotes-into-links into main
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
Reviewed-on: #37pull/41/head
commit
98d9c84c8b
|
@ -293,11 +293,14 @@ export default class StatusContent extends React.PureComponent {
|
||||||
id='quote-right'
|
id='quote-right'
|
||||||
aria-hidden='true'
|
aria-hidden='true'
|
||||||
key='icon-quote-right' />
|
key='icon-quote-right' />
|
||||||
<strong class="display-name__html"
|
<strong class="display-name__html">
|
||||||
dangerouslySetInnerHTML={quoteStatusDisplayName} />
|
<a onClick={this.handleAccountClick} href={quoteStatus.getIn(['account', 'url'])} dangerouslySetInnerHTML={quoteStatusDisplayName} />
|
||||||
|
</strong>
|
||||||
</span>
|
</span>
|
||||||
</bdi>
|
</bdi>
|
||||||
<div dangerouslySetInnerHTML={quoteStatusContent} />
|
<div>
|
||||||
|
<a href={quoteStatus.get('url')} target='_blank' rel='noopener noreferrer' dangerouslySetInnerHTML={quoteStatusContent} />
|
||||||
|
</div>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue