mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Also break on comma
This commit is contained in:
parent
3ccb3c6c84
commit
d164013ff9
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ function disableWordSnap(str: String): boolean {
|
|||
}
|
||||
|
||||
const isWhitespace = (c?: string): boolean => {
|
||||
return !!c && /\u2014|\u2013|\s/.test(c)
|
||||
return !!c && /\u2014|\u2013|,|\s/.test(c)
|
||||
}
|
||||
|
||||
function findNextWord(
|
||||
|
|
|
|||
Loading…
Reference in a new issue