Reports: parse HTML quotes

This commit is contained in:
Alex Gleason 2020-12-31 21:34:07 -06:00
parent c0770c77f5
commit 8c8615498b
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -120,12 +120,12 @@ class Report extends ImmutablePureComponent {
expanded={accordionExpanded}
onToggle={this.handleAccordionToggle}
>
<div>{statuses.map(status => <StatusContent status={status} />)}</div>
{statuses.map(status => <StatusContent status={status} />)}
</Accordion>
)}
</div>
<div className='admin-report__quote'>
<blockquote className='md'>{report.get('content')}</blockquote>
<blockquote className='md' dangerouslySetInnerHTML={{ __html: report.get('content') }} />
<span className='byline'>&mdash; @{report.getIn(['actor', 'acct'])}</span>
</div>
</div>