mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 23:57:39 +03:00
restore breaking after en/em dashes
This commit is contained in:
parent
bb5fd0cee2
commit
80c5e99c3c
@ -111,6 +111,18 @@ bool isExplicitHyphen(const uint32_t cp) {
|
|||||||
case 0x058A: // Armenian hyphen
|
case 0x058A: // Armenian hyphen
|
||||||
case 0x2010: // hyphen
|
case 0x2010: // hyphen
|
||||||
case 0x2011: // non-breaking 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 0xFE63: // small hyphen-minus
|
||||||
case 0xFF0D: // fullwidth hyphen-minus
|
case 0xFF0D: // fullwidth hyphen-minus
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user