forked from treehouse/mastodon
Compare commits
No commits in common. "5bffab252392886373d48f2442bace2d4865e457" and "384ac613d81d537d11e554866c236c0d5ca45c1e" have entirely different histories.
5bffab2523
...
384ac613d8
|
@ -279,9 +279,9 @@ export default class StatusContent extends React.PureComponent {
|
|||
|
||||
if (status.get('quote', null) !== null) {
|
||||
let quoteStatus = status.get('quote');
|
||||
let quoteStatusContent = <a href={quoteStatus.get('url')} target='_blank' rel='noopener noreferrer' dangerouslySetInnerHTML={{ __html: quoteStatus.get('contentHtml') }} />;
|
||||
let quoteStatusContent = { __html: quoteStatus.get('contentHtml') };
|
||||
let quoteStatusAccount = quoteStatus.get('account');
|
||||
let quoteStatusDisplayName = <a href={quoteStatus.getIn(['account', 'url'])} onClick={this.handleAccountClick} dangerouslySetInnerHTML={{ __html: quoteStatusAccount.get('display_name_html') }} />;
|
||||
let quoteStatusDisplayName = { __html: quoteStatusAccount.get('display_name_html') };
|
||||
|
||||
quote = (
|
||||
<div class="status__quote">
|
||||
|
@ -293,14 +293,11 @@ export default class StatusContent extends React.PureComponent {
|
|||
id='quote-right'
|
||||
aria-hidden='true'
|
||||
key='icon-quote-right' />
|
||||
<strong class="display-name__html">
|
||||
{quoteStatusDisplayName}
|
||||
</strong>
|
||||
<strong class="display-name__html"
|
||||
dangerouslySetInnerHTML={quoteStatusDisplayName} />
|
||||
</span>
|
||||
</bdi>
|
||||
<div>
|
||||
{quoteStatusContent}
|
||||
</div>
|
||||
<div dangerouslySetInnerHTML={quoteStatusContent} />
|
||||
</blockquote>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue