mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-26 14:00:42 +08:00
Mid-string slicing split grapheme clusters like “⚖️” into “⚖ ️”, making
truncation fail; switching to grapheme-aware splits per Unicode TR29
keeps composed emoji intact.
Added a regression spec with multi-codepoint emoji to test the fix.
|
||
|---|---|---|
| .. | ||
| ai_bot | ||
| ai_helper | ||
| ai_moderation | ||
| automation | ||
| embeddings | ||
| sentiment | ||
| summarization | ||