fix: Allow line break after ellipsis and underscore (#425)

Cherry-picked from upstream PR #425
This commit is contained in:
cottongin 2026-01-27 07:31:26 -05:00
parent aa87b3f294
commit 25b75b706f
No known key found for this signature in database
GPG Key ID: 0ECC91FE4655C262

View File

@ -125,6 +125,8 @@ bool isExplicitHyphen(const uint32_t cp) {
case 0xFE58: // small em dash
case 0xFE63: // small hyphen-minus
case 0xFF0D: // fullwidth hyphen-minus
case 0x005F: // Underscore
case 0x2026: // Ellipsis
return true;
default:
return false;