unicode-aware word breaking, fixes #1124
This commit is contained in:
parent
2bf30ed16d
commit
00ae843f78
|
@ -19,7 +19,7 @@ Object.assign(t, {
|
|||
/((?!\s)\W){10}/,
|
||||
')',
|
||||
/(?!\b|\s|$)/,
|
||||
].map(rx => rx.source || rx).join(''), 'g'),
|
||||
].map(rx => rx.source || rx).join(''), 'gu'),
|
||||
|
||||
HTML(html) {
|
||||
return typeof html !== 'string'
|
||||
|
|
Loading…
Reference in New Issue
Block a user