Skip to content

Commit

Permalink
Add colon to punctuation list used for word separation
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Oct 11, 2022
1 parent 29c7efc commit c430c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ function getLines(chars, reflowRTL) {
break;
}

let punctuation = '?.,;!¡¿。、·(){}[]/$';
let punctuation = '?.,;!¡¿。、·(){}[]/$:';
if (punctuation.includes(char.c) || punctuation.includes(char2.c)) {
break;
}
Expand Down

0 comments on commit c430c98

Please sign in to comment.