pub(crate) fn cap_grapheme(grapheme: &str) -> StringExpand description
Returns grapheme truncated to at most 8 codepoints (combining-mark bomb
defence). If the input is already within the limit it is returned as-is.
Only present when the egc feature is enabled.