Skip to content

Commit

Permalink
fix: Remove 's from possessive nouns for spellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ColonelPanics authored and pawamoy committed Aug 19, 2023
1 parent 202bdb4 commit 1f11985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mkdocs_spellcheck/words.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _strip_tags(html, ignore_code):
return stripper.get_data()


not_letters_nor_spaces = re.compile(r"(?:(\B\'|\'\B|\B\'\B)|[^\w\s\'-])")
not_letters_nor_spaces = re.compile(r"(?:(\B\'|\'\B|\B\'\B|\'s)|[^\w\s\'-])")
dashes_or_spaces = re.compile(r"[-\s]+")


Expand Down

0 comments on commit 1f11985

Please sign in to comment.