This commit is contained in:
Emelia Smith 2025-09-03 20:05:43 +00:00 committed by GitHub
commit b5e6aa6692
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,13 +86,15 @@ 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 */}
<span className='poll__input' />
<span <span
className='poll__option__text translate' className='poll__option__text translate'
dangerouslySetInnerHTML={{ __html: emojify(escapeTextContentForBrowser(option.get('title')), emojiMap) }} dangerouslySetInnerHTML={{ __html: emojify(escapeTextContentForBrowser(option.get('title')), emojiMap) }}
lang={language} lang={language}
/> />
</label>
</li> </li>
))} ))}
</ul> </ul>