mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-26 06:38:28 +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.
|
||
|---|---|---|
| .. | ||
| strategies | ||
| entry_point.rb | ||
| fold_content.rb | ||