Render unicode emoji in polls using emoji pack

Port 4407f07014 to glitch-soc
This commit is contained in:
Eugen Rochko authored and Thibaut Girka committed 2019-03-06 11:42:25 +01:00
1 parent 4806232997
commit 7f32d675b0
3 files changed
+14 -3

No files matched your search

@@ -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>
);