diff --git a/.changeset/moody-turtles-learn.md b/.changeset/moody-turtles-learn.md new file mode 100644 index 0000000..0cb0c6b --- /dev/null +++ b/.changeset/moody-turtles-learn.md @@ -0,0 +1,5 @@ +--- +"unicode-segmenter": patch +--- + +Reset `InCB=Linker` tracking state for a new boundary. diff --git a/src/grapheme.js b/src/grapheme.js index f9dc394..bd77cd5 100644 --- a/src/grapheme.js +++ b/src/grapheme.js @@ -155,6 +155,7 @@ export function* graphemeSegments(input) { extPic = catAfter === 4; emoji = false; consonant = false; + linker = false; riCount = 0; index = cursor; _catBegin = catAfter;