Skip to content

Commit

Permalink
Merge pull request #93 from nekketsuuu/patch-1
Browse files Browse the repository at this point in the history
Count words with punctuation apostrophes considered
  • Loading branch information
sorah authored Jan 23, 2025
2 parents f832611 + d04f62e commit a094a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/sponsorship.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def slug
end

def word_count
profile&.scan(/[\w\-']+/)&.size || 0
profile&.scan(/[\w\-']+/)&.size || 0
end

def policy_agreement
Expand Down

0 comments on commit a094a8f

Please sign in to comment.