restore breaking after en/em dashes

This commit is contained in:
Arthur Tazhitdinov 2026-01-16 19:53:03 +05:00
parent bb5fd0cee2
commit 80c5e99c3c

View File

@ -111,6 +111,18 @@ bool isExplicitHyphen(const uint32_t cp) {
case 0x058A: // Armenian hyphen
case 0x2010: // hyphen
case 0x2011: // non-breaking hyphen
case 0x2012: // figure dash
case 0x2013: // en dash
case 0x2014: // em dash
case 0x2015: // horizontal bar
case 0x2043: // hyphen bullet
case 0x207B: // superscript minus
case 0x208B: // subscript minus
case 0x2212: // minus sign
case 0x2E17: // double oblique hyphen
case 0x2E3A: // two-em dash
case 0x2E3B: // three-em dash
case 0xFE58: // small em dash
case 0xFE63: // small hyphen-minus
case 0xFF0D: // fullwidth hyphen-minus
return true;