mirror of https://github.com/zulip/zulip.git
1694831029
When an emoji is nested inside another inline tag - like em or strong - it was getting double processed because of the way the inlinePattern TreeProcessor runs (it runs recursively). With this fix, we set the inner text of the emoji span as an AtomicString, preventing us from double processing the emoji's text. Fixes #11621 Test Plan: * Add test case for **😄**, verify it passes. * Go into local dev server and send "**😄**" to self and verify the DOM does not have double <span> tags for the emoji. * Run zerver.tests.test_push_notifications and verify the markdown test case matches the text_content field properly |
||
---|---|---|
.. | ||
import_fixtures | ||
mattermost_fixtures | ||
slack_fixtures | ||
.gitignore | ||
authors.json | ||
config.generate_data.json | ||
csp_report.json | ||
docs_url_preview_data.json | ||
duplicate_commits.json | ||
gitter_data.json | ||
markdown_test_cases.json | ||
narrow.json | ||
slack_message_conversion.json | ||
user_agents_unique |