Update quotes to render emoji just like normal messages

This commit is contained in:
Scott Nonnenberg 2018-04-20 15:17:08 -07:00
parent a7d44d3344
commit 21713cbce7
No known key found for this signature in database
GPG key ID: 5F82280C35134661
5 changed files with 52 additions and 8 deletions

View file

@ -113,7 +113,7 @@ export class Quote extends React.Component<Props, {}> {
const { i18n, text, attachments } = this.props;
if (text) {
return <div className="text">{text}</div>;
return <div className="text" dangerouslySetInnerHTML={{ __html: text}} />;
}
if (!attachments || attachments.length === 0) {