oliver-zehentleitner / maity

hub: a name-aware fold keeps emoji joiners (U+200D, U+FE0F, U+20E3) when a display name is written into a title

Sign in to report

tsk-g1z4kk6pas0g Open

Low priority, a follow-up from #1976 (h385). plain_line folds U+200D (the emoji joiner) into a space, so a display name like "Ann 👩‍💻" shows as "Ann 👩 💻" in folded titles: notifications, the join page, the rules heading. #1976 accepts and documents this.

Done when:

  • there's one helper, a name-aware fold, that keeps U+200D, U+FE0F and U+20E3 exactly where plain_name would accept them (inside an emoji sequence) and folds everything else as plain_line does;
  • it's used wherever the hub writes a display name or project name into a title or a line of text, and only there;
  • there are tests with ZWJ sequences, a keycap and a stray joiner, which still folds;
  • a context line and a changelog fragment.