Allow breaking with zero-width space

This commit is contained in:
Benau 2019-06-17 16:09:27 +08:00
parent d666a350f6
commit 0ce185e42c

View File

@ -229,7 +229,8 @@ namespace LineBreakingRules
(c > 44031 && c < 55204) || // Hangul
(c > 63743 && c < 64256) || // More Chinese
c == 173 || c == 32 || // Soft hyphen and white space
c == 47 || c == 92) // Slash and blackslash
c == 47 || c == 92 || // Slash and blackslash
c == 8203) // Zero-width space
return true;
return false;
} // breakable