mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 07:49:29 +00:00
[Glitch] Fix rendering of poll options in status history modal
Port d8bdce2835 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -93,14 +93,16 @@ class CompareHistoryModal extends PureComponent {
|
|||||||
<ul>
|
<ul>
|
||||||
{currentVersion.getIn(['poll', 'options']).map(option => (
|
{currentVersion.getIn(['poll', 'options']).map(option => (
|
||||||
<li key={option.get('title')}>
|
<li key={option.get('title')}>
|
||||||
<span className='poll__input disabled' />
|
<label className='poll__option editable'>
|
||||||
|
{/* FIXME: does not support multiple choice, #35632 */}
|
||||||
<EmojiHTML
|
<span className='poll__input' />
|
||||||
as="span"
|
<EmojiHTML
|
||||||
className='poll__option__text translate'
|
as="span"
|
||||||
htmlString={emojify(escapeTextContentForBrowser(option.get('title')), emojiMap)}
|
className='poll__option__text translate'
|
||||||
lang={language}
|
htmlString={emojify(escapeTextContentForBrowser(option.get('title')), emojiMap)}
|
||||||
/>
|
lang={language}
|
||||||
|
/>
|
||||||
|
</label>
|
||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user