Skip to content

Commit

Permalink
otherPuncDelay applies to any punctuation other than sentence delay
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestomasino committed Jun 20, 2021
1 parent 79a279b commit c07a204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-content/lib/word.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default class Word {
this.hasPeriod = true
}

if (!this.hasPeriod && !this.hasLeadingQuote && !this.hasTrailingQuote && locale.puncRegex.test(this.val)) {
if (!this.hasPeriod && locale.puncRegex.test(this.val)) {
this.hasOtherPunc = true
}
}
Expand Down

0 comments on commit c07a204

Please sign in to comment.