Render unicode emoji in polls using emoji pack (#10185)
This commit is contained in:
parent
efd0fb8088
commit
4407f07014
3 changed files with 14 additions and 3 deletions
|
@ -120,7 +120,7 @@ class Poll extends ImmutablePureComponent {
|
|||
{!showResults && <span className={classNames('poll__input', { checkbox: poll.get('multiple'), active })} />}
|
||||
{showResults && <span className='poll__number'>{Math.round(percent)}%</span>}
|
||||
|
||||
{option.get('title')}
|
||||
<span dangerouslySetInnerHTML={{ __html: option.get('title_emojified') }} />
|
||||
</label>
|
||||
</li>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue